• 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
Re: set variable to a command?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set variable to a command?


  • Subject: Re: set variable to a command?
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 20 Nov 2003 09:08:57 -0700

On Nov 20, 2003, at 8:20 AM, Arthur Knapp wrote:

Does iTunes have its own "run script" command? It is hard to see how the terminology gets mapped to the right iTunes's AppleEvent inside of "run script."

"run script" is an Applescript command. In the case at hand

run script command

equates to

run script "play"

That means that play (without the quotes) is put in place, so the script runs as if it actually had been

tell application "iTunes"
play
end tell

--
"My country, right or wrong: if right, to be kept right; and if wrong, to be set right."
Senator Carl Schurz of Missouri, 1899
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: set variable to a command? (From: Arthur Knapp <email@hidden>)

  • Prev by Date: Selected text in mail.app
  • Next by Date: Re: Getting dictionary of app (was:Getting label from a record (Reasons))
  • Previous by thread: Re: set variable to a command?
  • Next by thread: Re: set variable to a command?
  • Index(es):
    • Date
    • Thread