Remote Desktop Admin: Cannot make new computer with AppleScript

Originator:adriannier
Number:rdar://9526676 Date Originated:31-May-2011 01:54 PM
Status:Open Resolved:
Product:Other Product Version:3.4/465.14
Classification:Enhancement Reproducible:Always
 
Summary:
Administrators could save a lot of time, if Apple Remote Desktop allowed to create computers programmatically using AppleScript. Currently the make command produces an error when creating new computers. The properties for the computer class are read-only.

Steps to Reproduce:
1. Open AppleScript Editor and paste the following script:

tell application "Remote Desktop"
	make new computer at the end of computers with properties {name:"New Computer"}
end tell

2. Press the Run button.

Expected Results:
A new computer is created in the All Computers list titled New Computer.

Actual Results:
The AppleScript Editor result view shows:
“error "Remote Desktop got an error: AppleEvent handler failed." number -10000”

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!