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

scripting audion to not quit till finished encoding


  • Subject: scripting audion to not quit till finished encoding
  • From: Kate Jenkins <email@hidden>
  • Date: Sat, 6 Oct 2001 20:43:47 -0500 (EST)

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.


  • Prev by Date: Re: sudo in terminal
  • Next by Date: Re: MacOS X AS list (needed!)
  • Previous by thread: Re: sudo in terminal
  • Next by thread: Re: scripting audion to not quit till finished encoding
  • Index(es):
    • Date
    • Thread