• 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
ARD control issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ARD control issues


  • Subject: ARD control issues
  • From: Die Fledermaus <email@hidden>
  • Date: Tue, 13 Aug 2013 16:34:09 -0400

I have two issues vexing me. The first is when I fill a variable via a dialog box using this script

display dialog "What machine do you want to control" default answer "Machine DNS name"

--Get Answer & Return Comment

set compname to (text returned of result)



the compname variable is "dnsname" and works throughout the script


If I try it from a list


tell application "Remote Desktop"

set theListofcomps to name of every computer --get all exsisting computers in list

set compname to choose from list theListofcomps with title ¬

"Computers" with prompt "Pick the computer you want to send a message to and control"

--lets tech pick from full list of machines.

set compname to (text returned of result)


the compname variable is {\"dnsname\"} and the script then fails 


So how do I make the {\"dnsname\"} turn out as "dnsname" in compname?


Second issue is I am trying to control the compname machine via ARD  and I notice there is a control command in the dictionary. I have tried several ways to make that command work, but so far the script says it did everything correctly. I never get a window to be created so I can control the machine in question. I have tried the control command against a single machine and against a list with out any results.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: ARD control issues
      • From: Emmanuel LEVY <email@hidden>
    • Re: ARD control issues
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: Folder Action for Applications
  • Next by Date: Re: ARD control issues
  • Previous by thread: Re: Folder Action for Applications
  • Next by thread: Re: ARD control issues
  • Index(es):
    • Date
    • Thread