detecting and setting a variable for a Audio CD
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