• 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 the AppleCD Player (anwered myself)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting the AppleCD Player (anwered myself)


  • Subject: Scripting the AppleCD Player (anwered myself)
  • From: "Brandon Carpenter" <email@hidden>
  • Date: Mon, 8 Jan 2001 18:06:44 -0600

Turns out the CD Player is somewhat scriptable

tell app "Apple CD Player"
open file "Audio CD 1:track1"
end tell

or I could have done this with the "Finder"

on run
tell app "Finder"
set audioCD to ""
set diskList to every disk whose (ejectable is true)
repeat with i in diskList
if the name of I starts with "Audio" then
set audioCD to i
exit repeat
end if
other stuff to pick track to play
open selection
end repeat
end tell
end run

I guess I could write other variations to play the selection(s).

Hope this helps others.


  • Prev by Date: Re: Web authoring tools
  • Next by Date: Aplescript for changing case
  • Previous by thread: Re: AppleCD Audio Player or Addition Equivilent
  • Next by thread: Aplescript for changing case
  • Index(es):
    • Date
    • Thread