• 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: SoundJam: "busy" detection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SoundJam: "busy" detection


  • Subject: Re: SoundJam: "busy" detection
  • From: "Marc K. Myers" <email@hidden>
  • Date: Wed, 17 Jan 2001 09:49:03 -0500
  • Organization: [very little]

JollyRoger wrote:
> Date: Tue, 16 Jan 2001 23:08:38 -0600
> Subject: Re: SoundJam: "busy" detection
> From: JollyRoger <email@hidden>
> To: Applecript-Users <email@hidden>
> Reply-To: email@hidden
>
> on 1/16/2001 10:48 PM, Marc K. Myers at email@hidden wrote:
>
> > I ran into a snag in the script I'm writing to automate ripping and
> > encoding files with SoundJam. When you tell the application to
> > "convert", instead of waiting for the conversion to complete it throws
> > control right back to the script. The operations that were supposed to
> > be done against the converted files are executed before the files get
> > converted. SoundJam has no "busy" or "ready" property to test (that I
> > can find).
> >
> > Does anyone know how I might be able to detect when the conversion
> > process is taking place and when it ends so I can get this thing in sync?
>
> I determine if SJ is busy by using the "player state" property to test if
> the player is playing or paused:
>
> tell application "SoundJam MP"
> set theStatus to player state
> -- player is busy if playing or paused
> set isBusy to (theStatus = playing) or (theStatus = paused)
> end tell
>
> I wonder if this would work for conversion as well. Try it and let us know!

I checked that out and found that it only applies to the player, not
conversions. While convertions are in progress, the player state reads "stopped".

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[1/17/01 9:48:44 AM]


  • Prev by Date: Reading data from new IE window; slowdown
  • Next by Date: fetch directory listing
  • Previous by thread: Re: SoundJam: "busy" detection
  • Next by thread: Re: What's the best way to run a script at a interval time period?
  • Index(es):
    • Date
    • Thread