Page 1 of 1

Test for QT

Posted: Mon Nov 02, 2009 10:34 pm
by bidgeeman
Hi.
I was wondering if it were possible to "Test" for Quicktime under windows and tell a user they need to install it if it is not there? I'm using the External QT in a stack.

Many thanks
Bidge

Posted: Mon Nov 02, 2009 11:14 pm
by Mark
Hi Bidge,

If you enter QT in the search field of the dictionary, you will see a small number of relevant hits. One of the relevant entries says:
On Mac OS and Windows systems, if QuickTime is not installed, the QTVersion function returns 0.0. Otherwise, it returns the QuickTime version number.
Best,

Mark

Posted: Mon Nov 02, 2009 11:21 pm
by bidgeeman
Thanks Mark. Much appreciated mate.
:D

Regards
Bidge

Posted: Tue Nov 03, 2009 12:41 am
by bidgeeman
Would the QTversion script work ok in the stack script? Would it check for QT on startup?

Thanks
Bidge

Posted: Tue Nov 03, 2009 12:44 am
by Mark
Bidge,

I don't know, because I don't know what your script looks like.

Best,

Mark

Posted: Tue Nov 03, 2009 12:50 am
by bidgeeman
Hi Mark.
I just put tis in the main stack

Code: Select all

the QTVersion
if the QTVersion < 3 then answer "You need QuickTime 3.0 or later."
Would this check for QT on startup of the exe?

Cheers
Bidge