Can LiveCode Control the CD ROM Drive to Play Audio?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
MouseUp
Posts: 41
Joined: Sun Feb 14, 2010 3:41 pm

Can LiveCode Control the CD ROM Drive to Play Audio?

Post by MouseUp » Fri Apr 26, 2013 3:40 pm

Does LiveCode have the ability to control the CD ROM drive built in to the computer such as to play an audio CD? Can we play a track from an audio CD inserted in the computer? Can we control the player's controls ie. Play, Stop, Eject, etc? For example can we play song 2 on the audio CD disc from 3 seconds to 12 seconds?
Thanks,

MouseUp

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Can LiveCode Control the CD ROM Drive to Play Audio?

Post by BvG » Mon Apr 29, 2013 12:23 pm

As far as I know, you have to use some sort of OS scripting to play CD's. basically you'll tell the OS to do it for you. For example, on a Mac you can use the shell(), or "do as" applescript, and on windows you could probably use "do" with visual basic calls.

Note that very few people do use CD's these days.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply