• 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: JollyRoger <email@hidden>
  • Date: Tue, 16 Jan 2001 23:08:38 -0600

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!

HTH

JR


References: 
 >SoundJam: "busy" detection (From: "Marc K. Myers" <email@hidden>)

  • Prev by Date: Re: What's the best way to run a script at a interval time period?
  • Next by Date: Re: Replacing characters in filenames
  • Previous by thread: SoundJam: "busy" detection
  • Next by thread: Re: SoundJam: "busy" detection
  • Index(es):
    • Date
    • Thread