• 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
detecting and setting a variable for a Audio CD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

detecting and setting a variable for a Audio CD


  • Subject: detecting and setting a variable for a Audio CD
  • From: "Brandon Carpenter" <email@hidden>
  • Date: Fri, 27 Apr 2001 12:15:43 -0500

I know this has been brought up before, but I am unable to find a good
example in my library of scripts.
How do I find a Audio CD and set the tracks to a result as variable alias?
I am looking to write a script that will look for a Audio CD and then get
the tracks as an alias file.
something like:

if exists (some disk whose (ejectable is true)) then
set CD_Audio to result
end if
Get the number of tracks
set CD_Tracks to tracks of CD
repeat with A_Track in CD_Tracks
play A_Track from 0.0 seconds to 30.00 seconds
end repeat

Any suggests?

Brandon Carpenter
806-352-6370 X 107

"Don't worry about the world coming to an end today. It's already
tomorrow in Australia."
Charles Schultz


  • Follow-Ups:
    • Re: detecting and setting a variable for a Audio CD
      • From: Takaaki Naganoya <email@hidden>
  • Prev by Date: file sharing
  • Next by Date: Re: Scripting Personal Web Sharing
  • Previous by thread: file sharing
  • Next by thread: Re: detecting and setting a variable for a Audio CD
  • Index(es):
    • Date
    • Thread