Re: Check if iTunes is playing?
Re: Check if iTunes is playing?
- Subject: Re: Check if iTunes is playing?
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 03 Apr 2005 18:01:34 -0800
On 4/3/05 4:52 PM, "kai" <email@hidden> wrote:
> I seem to recall, way back when, a situation in which somebody actually
> wanted to achieve the class-to-string coercion to show the current
> state of a property in an applet's dialog box. One of the solutions was
> to use a meaningless 'run script' command, aimed at the target app, to
> force open its dictionary for the duration of that session. It its
> simplest form, it went something like:
>
> run script "tell application \"SomeApp\" to \"\""
> tell application "SomeApp"
> display dialog <some keyword> as string
> end tell
>
Correct. Or
run script "tell application \"SomeApp\"
end tell"
This is needed also if exporting keywords (including application
enumerations and constants) as text to a text file.
--
Paul Berkowitz
_______________________________________________
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