forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQTVersion.xml
More file actions
73 lines (57 loc) · 2.74 KB
/
Copy pathQTVersion.xml
File metadata and controls
73 lines (57 loc) · 2.74 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
61
62
63
64
65
66
67
68
69
70
71
72
73
<doc>
<legacy_id>1979</legacy_id>
<name>qtVersion</name>
<type>function</type>
<syntax>
<example>the qtVersion</example>
<example>qtVersion()</example>
</syntax>
<synonyms>
</synonyms>
<summary><glossary tag="return">Returns</glossary> the version of <glossary tag="QuickTime">QuickTime</glossary> installed on the system. </summary>
<examples>
<example>the qtVersion</example>
<example>if the qtVersion < 3 then answer "You need QuickTime 3.0 or later."</example>
</examples>
<history>
<introduced version="1.0">Added. </introduced>
<deprecated version=""></deprecated>
<removed version=""></removed>
</history>
<objects>
</objects>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
</classes>
<security>
</security>
<classification>
<category>Images & Multimedia</category>
<category>The System Environment</category>
</classification>
<references>
<function tag="systemVersion">systemVersion Function</function>
<function tag="qtEffects">qtEffects Function</function>
<function tag="recordFormats">recordFormats Function</function>
<function tag="buildNumber">buildNumber Function</function>
<command tag="play">play Command</command>
<property tag="dontUseQT">dontUseQT Property</property>
<property tag="videoClipPlayer">videoClipPlayer Property</property>
<property tag="dontUseQTEffects">dontUseQTEffects Property</property>
<property tag="qtIdleRate">qtIdleRate Property</property>
</references>
<description>
<overview>Use the <b>qtVersion</b> 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.</overview>
<parameters>
</parameters>
<value>The <b>qtVersion</b> function returns a positive number.</value>
<comments>On Unix systems, the <b>qtVersion</b> function always <glossary tag="return">returns</glossary> 2.0.<p></p><p>On Mac OS and Windows systems, if <glossary tag="QuickTime">QuickTime</glossary> is not installed, the <b>qtVersion</b> function <glossary tag="return">returns</glossary> 0.0. Otherwise, it returns the <glossary tag="QuickTime">QuickTime</glossary> version number.</p><p></p><p></p><tip>It can take LiveCode a second or two to load the code needed to use <glossary tag="QuickTime">QuickTime</glossary>, depending on the machine speed. Since this code is only <glossary tag="loaded into memory">loaded into memory</glossary> once per session, you can speed up the first occurrence of a QuickTime-related action by calling the <function tag="qtVersion">qtVersion</function> function during otherwise dead time--for example, during startup of your application--to preload the code.</tip></comments>
</description>
</doc>