forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathQTVersion.lcdoc
More file actions
61 lines (43 loc) · 1.94 KB
/
QTVersion.lcdoc
File metadata and controls
61 lines (43 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Name: qtVersion
Type: function
Syntax: the qtVersion
Syntax: qtVersion()
Summary:
<return|Returns> the version of <QuickTime> installed on the system.
Introduced: 1.0
OS: mac
Platforms: desktop
Example:
the qtVersion
Example:
if the qtVersion < 3 then answer "You need QuickTime 3.0 or later."
Returns:
The <qtVersion> function returns a positive number.
Description:
Use the <qtVersion> function to make sure the version of QuickTime
that's installed is recent enough to handle any version-dependent
features in movies you want to play.
On Unix systems, the <qtVersion> function always <return|returns> 2.0.
On Mac OS and Windows systems, if <QuickTime> is not installed, the
<qtVersion> function <return|returns> 0.0. Otherwise, it returns the
<QuickTime> version number.
>*Tip:* It can take LiveCode a second or two to load the code needed to
> use <QuickTime>, depending on the machine speed. Since this code is
> only <loaded into memory> once per session, you can speed up the first
> occurrence of a QuickTime-related action by calling the <qtVersion>
> function during otherwise dead time--for example, during startup of
> your application--to preload the code.
Changes:
The use of <QuickTime> was deprecated in version 8.1 of LiveCode with
new defaults for <dontUseQT> and <dontUseQTEffects> as true on all
systems apart from pre OS X 10.8. The Windows build of LiveCode no
longer supports any <QuickTime> features and setting the <dontUseQT> and
<dontUseQTEffects> will have no effect. Additionally <QuickTime> does
not include 64 bit support and therefore can not be supported on OS X 64
bit builds of LiveCode.
References: play (command), qtVersion (function), buildNumber (function),
recordFormats (function), systemVersion (function), qtEffects (function),
QuickTime (glossary), return (glossary), loaded into memory (glossary),
videoClipPlayer (property), qtIdleRate (property), dontUseQT (property),
dontUseQTEffects (property)
Tags: multimedia