• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with scripting ARD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem with scripting ARD
      • From: "John C. Welch" <email@hidden>
  • Prev by Date: Re: [REQ] Applescript, do shell script e mysql
  • Next by Date: Re: Problem with scripting ARD
  • Previous by thread: Re: select text of document 1 in TextEdit?
  • Next by thread: Re: Problem with scripting ARD
  • Index(es):
    • Date
    • Thread