home *** CD-ROM | disk | FTP | other *** search
- on getqtversionandxtrastatus
- set myqtxtraresult to -1
- set myqtpflag to 0
- set mywinflag to 0
- set qtconfiglist to [0, 0]
- repeat with x = 1 to the number of xtras
- if the name of xtra(x) = "QuickTimeSupport" then
- set myqtxtraresult to quicktimeversion()
- if myqtxtraresult < 0 then
- set myqtxtraresult to -1
- end if
- exit repeat
- end if
- end repeat
- case 1 of
- (myqtxtraresult >= 3):
- setAt(qtconfiglist, 2, 3)
- ((myqtxtraresult >= 2) and (myqtxtraresult < 3)):
- setAt(qtconfiglist, 1, 2)
- setAt(qtconfiglist, 2, 2)
- (myqtxtraresult = 0):
- setAt(qtconfiglist, 1, 0)
- setAt(qtconfiglist, 2, 0)
- (myqtxtraresult = -1):
- setAt(qtconfiglist, 2, -1)
- end case
- set myqtpflag to the quickTimePresent
- set mywinflag to the platform contains "Windows"
- case 1 of
- (myqtpflag and mywinflag):
- setAt(qtconfiglist, 1, 2)
- ((myqtpflag = 1) and (mywinflag = 0) and (myqtxtraresult = -1)):
- setAt(qtconfiglist, 1, 9)
- end case
- return qtconfiglist
- end
-