• 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: Check if iTunes is playing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: [OT] How to tell if iMovie/QT is done encoding something?
      • From: Jim Witte <email@hidden>
References: 
 >Re: Check if iTunes is playing? (From: kai <email@hidden>)

  • Prev by Date: Re: Check if iTunes is playing?
  • Next by Date: Re: Mac vs unix Carriage returns on a text file format
  • Previous by thread: Re: Check if iTunes is playing?
  • Next by thread: Re: [OT] How to tell if iMovie/QT is done encoding something?
  • Index(es):
    • Date
    • Thread