Detecting Apple's QuickTime

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Detecting Apple's QuickTime

Post by shadowslash » Sun Apr 11, 2010 8:16 am

I still don't know why rev has to rely on QuickTime to play sounds. It should be built in especially if I'm developing Web Applications such as revWeb but that's beside the point of this post.

I need to know how to detect if QuickTime is installed in the current machine that my web apps i currently running on. I would like to know how it's done in Windows, Mac OS X and Linux (Mainly Ubuntu). If others can share what they know, it would really be a great help not only for me but also for others who might not know about it before...

Hoping to hear from you guys,
- Shedo Chung-Hee Surashu
Parañaque, Philippines
Image
Image

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Detecting Apple's QuickTime

Post by Mark » Sun Apr 11, 2010 2:59 pm

Hi Shedo,

Check the qtversion function in the dictionary.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Detecting Apple's QuickTime

Post by shadowslash » Sun Apr 11, 2010 3:06 pm

Mark wrote:Hi Shedo,

Check the qtversion function in the dictionary.

Best,

Mark
Would it also be possible to detect where QuickTime will be launchable? E.g. the *.exe file for Windows.
Parañaque, Philippines
Image
Image

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Detecting Apple's QuickTime

Post by Mark » Sun Apr 11, 2010 3:25 pm

Shedo,

You should probably write a script that searches the applications directory for a QuickTime folder.

Why would you want to do that?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Detecting Apple's QuickTime

Post by shadowslash » Sun Apr 11, 2010 3:30 pm

Right now I don't have use for such yet, I just needed to detect QuickTime. I just wanted to know so that in if I do need it in the future, won't have to ask... Image
Parañaque, Philippines
Image
Image

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Detecting Apple's QuickTime

Post by Mark » Sun Apr 11, 2010 3:47 pm

Shasowslash,

If you really only need to know whether QT is present, use the qtversion function.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Detecting Apple's QuickTime

Post by shadowslash » Sun Apr 11, 2010 4:37 pm

shadowslash wrote:in the future
Image Lol well thanks for the QTVersion tip though!!
Parañaque, Philippines
Image
Image

Post Reply