• 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: scripting audion to not quit till finished encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting audion to not quit till finished encoding


  • Subject: Re: scripting audion to not quit till finished encoding
  • From: Kate Jenkins <email@hidden>
  • Date: Tue, 16 Oct 2001 10:41:20 -0500 (EST)

This is long delayed, but thanks for your response to my applescript
question a while back.

I found a script addition called "wait application" that's supposed to
wait till an application is finished with a process. Apparantly it works
with some processes but not this particular one.

If you're interested, it's available here:

http://www.osaxen.com/index.php?id=wait_application

Take care,

Kate

> Obviously, you need to take the quit out of the tell block - just don't
> tell Audion to quit.
>
> But if you want to get Audion out of the way after the encoding is done,
> the sad news is I can only offer commiseration... it's nearly impossible
> to know when a long process is completed by an app, certainly no way I've
> found that's elegant.
>
> ~Phi
> "waiting to be schooled now by the script masters on the list..."
>
> >Hi fellow scripters,
> >
> >I'm writing an applescript to
> >
> >1. launch audion
> >2. rip the cd in the drive to mp3
> >then 3. shut down the computer when finished.
> >
> >--my basic script thus far
> >tell application "Audion 2"
> > activate
> > make new playlist
> > add file "Audio CD 1:" to playlist 1
> > encode from playlist 1
> > quit
> >end tell
> >
> >This works fine except the script doesn't know to wait for the items to
> >encode before quitting; it just goes rapidfire through the instructions
> >and quits Audion only a few seconds into the encoding process.
> >
> >I've tried various things like:
> > repeat while application "Audion 2" is busy
> > --do nothing
> > end repeat
> >(the audion dictionary doesn't know the meaning of "busy" - thinks it's an
> >undefined variable)
> >
> >but I've had no luck. Any suggestions?
> >
> >Kate
> >
> >I'd also like to improve the "add file Audio CD 1:" because this only
> >works if it's the first CD I've inserted since restart. Is there a way to
> >specify "the CD currently in the drive?" Any help will be greatly
> >appreciated. Thanks.
> >_______________________________________________
> >applescript-users mailing list
> >email@hidden
> >http://www.lists.apple.com/mailman/listinfo/applescript-users


  • Prev by Date: RE: Holy Rusted Coding Batman!!!(Was last request...)
  • Next by Date: Re: OSX Scripting Additions
  • Previous by thread: scripting audion to not quit till finished encoding
  • Next by thread: File name list help?
  • Index(es):
    • Date
    • Thread