This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathcopyKey.xml
More file actions
44 lines (44 loc) · 2.24 KB
/
Copy pathcopyKey.xml
File metadata and controls
44 lines (44 loc) · 2.24 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
<doc>
<legacy_id>1344</legacy_id>
<name>copyKey</name>
<type>message</type>
<syntax>
<example>copyKey</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<command tag="copy">copy Command</command>
<message tag="cutKey">cutKey Message</message>
<message tag="pasteKey">pasteKey Message</message>
<message tag="undoKey">undoKey Message</message>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
</classes>
<security>
</security>
<summary>Sent when the user presses the <glossary tag="key combination">key combination</glossary> equivalent to the Copy <glossary tag="menu item">menu item</glossary>.</summary>
<examples>
<example>on copyKey</p><p> if the selection is empty then beep <code><i>-- nothing to copy</i></code></p><p> pass copyKey</p><p>end copyKey</example>
</examples>
<description>
<p>Handle the <b>copyKey</b> <keyword tag="message box">message</keyword> if you want to change the normal copying process, or prevent use of the Copy <glossary tag="key combination">key combination</glossary> without changing the menu.</p><p/><p><b>Comments:</b></p><p>The LiveCode development environment traps the <b>copyKey</b> <keyword tag="message box">message</keyword>, unless "Suspend LiveCode UI" is turned on in the Development menu. This means that the <b>copyKey</b> <keyword tag="message box">message</keyword> is not received by a <object tag="stack">stack</object> if it's running in the <glossary tag="development environment">development environment</glossary>.</p><p/><p>The <b>copyKey</b> <keyword tag="message box">message</keyword> is sent when the user presses Command-C (on <glossary tag="Mac OS">Mac OS systems</glossary>), Control-C (on <glossary tag="Windows">Windows systems</glossary>), Control-Insert (on <glossary tag="Unix">Unix systems</glossary>), or the keyboard Copy key.</p><p/><p>The message is sent to the active (focused) control, or to the current card if no control is focused.</p>
</description>
</doc>