Problem with scripting ARD
Problem with scripting ARD
- Subject: Problem with scripting ARD
- From: Andrei Tchijov <email@hidden>
- Date: Fri, 4 Aug 2006 09:33:42 -0400
Hi, I am trying to write Apple Script which will add new computer to ARD (v 3.0). This is what I come up with so far
tell application "Remote Desktop" add (make new computer with properties {name:"xxx", DNS name:"xxx.abc.com", Internet address:"x.x.x.x"}) to item 1 of computer lists end tell
Unfortunately it does not work. If I try to run it, I am getting "Remote Desktop got an error: NSInternalScriptError" and part of the script in "()" gets highlighted. Also, I have noticed this in my "console.log"
2006-08-04 09:28:25.306 Remote Desktop[9209] [<RDApplication 0x41e050> insertValue:inPropertyWithKey:]: lookup of unknown key: 'computers'. This class does not have a method of the name insertInComputers:
These 2 lines appears every time I am trying to run the script.
Any help will be highly appreciated.
Andrei Tchijov Leaping Bytes, LLC |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden