Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 8d8446d

Browse files
Merge pull request #2662 from runrevpanos/bugfix-14447
[Bug 14447] [Docs] Updated QT-related dictionary entries
2 parents 2c99799 + 741cc57 commit 8d8446d

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

docs/dictionary/command/answer-effect.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@
4242
<example>if the altKey is down then answer effect</example>
4343
</examples>
4444
<description>
45-
<p>Use the <b>answer effect</b> <glossary tag="command">command</glossary> to choose a visual effect, or to set up an effect with complex options for later use.</p><p/><p><b>Comments:</b></p><p>The <b>answer effect</b> <glossary tag="command">command</glossary> displays a <glossary tag="dialog box">dialog box</glossary> where the user can select a visual effect and (for some effects) set parameters such as speed and direction. (This <glossary tag="dialog box">dialog box</glossary> is displayed by <glossary tag="QuickTime">QuickTime</glossary>, not by LiveCode.)</p><p/><p>An encoded description of the visual effect the user chooses is placed in the <b>it</b> <glossary tag="variable">variable</glossary>. You can either use the encoded description immediately, or store it (for example, in a <glossary tag="variable">variable</glossary> or in a <property tag="customProperties">custom property</property>) for later use. To display the effect, use the encoded description with the <command tag="visual effect">visual effect</command> <glossary tag="command">command</glossary>, with the <command tag="unlock screen">unlock screen</command> <glossary tag="command">command</glossary>, or with the<code> hide with visual effect </code>or<code> show with visual effect </code>form of the <b>hide</b> or <command tag="show">show</command> <glossary tag="command">command</glossary>.</p><p/><p>If the user cancels the dialog, the <b>it</b> <glossary tag="variable">variable</glossary> is set to empty, and the <function tag="result">result</function> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> "Cancel".</p>
45+
<p>Use the <b>answer effect</b> <glossary tag="command">command</glossary> to choose a visual effect, or to set up an effect with complex options for later use.</p><p/><p><b>Comments:</b></p><p>The <b>answer effect</b> <glossary tag="command">command</glossary> displays a <glossary tag="dialog box">dialog box</glossary> where the user can select a visual effect and (for some effects) set parameters such as speed and direction. (This <glossary tag="dialog box">dialog box</glossary> is displayed by <glossary tag="QuickTime">QuickTime</glossary>, not by LiveCode. Thus make sure the <b>dontUseQT</b> property is set to false, to allow LiveCode work with QuickTime)</p><p/><p>An encoded description of the visual effect the user chooses is placed in the <b>it</b> <glossary tag="variable">variable</glossary>. You can either use the encoded description immediately, or store it (for example, in a <glossary tag="variable">variable</glossary> or in a <property tag="customProperties">custom property</property>) for later use. To display the effect, use the encoded description with the <command tag="visual effect">visual effect</command> <glossary tag="command">command</glossary>, with the <command tag="unlock screen">unlock screen</command> <glossary tag="command">command</glossary>, or with the<code> hide with visual effect </code>or<code> show with visual effect </code>form of the <b>hide</b> or <command tag="show">show</command> <glossary tag="command">command</glossary>.</p><p/><p>If the user cancels the dialog, the <b>it</b> <glossary tag="variable">variable</glossary> is set to empty, and the <function tag="result">result</function> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> "Cancel".</p>
4646
</description>
4747
</doc>

docs/dictionary/function/QTEffects.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858
</parameters>
5959

6060
<value>The <b>qtEffects</b> <glossary tag="function">function</glossary> <glossary tag="return">returns</glossary> a list of installed effect names, one per line.</value>
61-
<comments>The effects returned by the <b>qtEffects</b> <glossary tag="function">function</glossary> can be used as visual effects with the <command tag="visual effect">visual effect</command>, <command tag="unlock screen">unlock screen</command>, <command tag="show">show</command> and <command tag="hide">hide</command> commands.</comments>
61+
<comments>The effects returned by the <b>qtEffects</b> <glossary tag="function">function</glossary> can be used as visual effects with the <command tag="visual effect">visual effect</command>, <command tag="unlock screen">unlock screen</command>, <command tag="show">show</command> and <command tag="hide">hide</command> commands. When using this function, make sure the <b>dontUseQT</b> property is set to false, to allow LiveCode work with QuickTime</comments>
6262
</description>
6363
</doc>

docs/dictionary/function/QTVersion.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@
6868
</parameters>
6969

7070
<value>The <b>qtVersion</b> function returns a positive number.</value>
71-
<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>
71+
<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. In this case, make sure the <b>dontUseQT</b> property is set to false, to allow LiveCode work with QuickTime.</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>
7272
</description>
7373
</doc>

docs/notes/bugfix-14447.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# [[Docs]] QTVersion of QuickTime return 0.0

0 commit comments

Comments
 (0)