Re: set variable to a command?
Re: set variable to a command?
- Subject: Re: set variable to a command?
- From: Arthur Knapp <email@hidden>
- Date: Thu, 20 Nov 2003 13:51:37 -0500
From: Michelle Steiner <email@hidden>
Subject: Re: set variable to a command?
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"
Right, and that's what I don't understand. My experience is that "run
script" compiles within its own "context," meaning that:
run script "play"
should be exactly the same as if you typed the word "play" all by
itself into a new script editor window and then clicked the run button.
Generally, when a script compiles, it figures out terminology based on
the current tell-statement:
tell application "iTunes" --> compiler searches iTunes's terminology...
play --> ... for "play" and finds <<event hookPlay>> as mentioned by
Paul B.
"My country, right or wrong: if right, to be kept right; and if wrong,
to be set right."
Senator Carl Schurz of Missouri, 1899
P.S. I love this quote! It's nice to see a right-wing expression placed
into its proper left-wing context. :)
{ Arthur J. Knapp;
<
mailto:email@hidden>;
What...? Oh...!
}
_______________________________________________
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.