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 pathcreate-alias.xml
More file actions
55 lines (55 loc) · 3.2 KB
/
Copy pathcreate-alias.xml
File metadata and controls
55 lines (55 loc) · 3.2 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
<doc>
<legacy_id>1650</legacy_id>
<name>create alias</name>
<type>command</type>
<syntax>
<example>create alias <i>aliasPath</i> to {file <i>originalFilePath </i>| folder <i>orginalFolderPath</i>}</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
<synonym>new alias</synonym>
</synonyms>
<classification>
<category>Files, Folders, & Resources</category>
</classification>
<references>
<command tag="revMoveFolder">revMoveFolder Command</command>
<function tag="aliasReference">aliasReference Function</function>
<command tag="create folder">create folder Command</command>
<property tag="defaultFolder">defaultFolder Property</property>
<command tag="rename">rename Command</command>
<command tag="revCopyFolder">revCopyFolder Command</command>
<command tag="revCopyFile">revCopyFile Command</command>
</references>
<history>
<introduced version="1.1">Added.</introduced>
<changed version="2.9"></changed>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
<disk access="???"/>
</security>
<summary>Makes a new <glossary tag="alias">alias</glossary>, <glossary tag="symbolic link">symbolic link</glossary>, or <glossary tag="shortcut">shortcut</glossary> to the specified <keyword tag="file">file</keyword> or folder.</summary>
<examples>
<example>create alias "Music Shortcut" to file "Music"</example>
<example>create alias preferredFileLocation to file "../Startup"</example>
<example>create alias "Photographs" to folder "Pictures"</example>
</examples>
<description>
<p>Use the <b>create alias</b> <glossary tag="command">command</glossary> to create a second icon for a <keyword tag="file">file</keyword> or folder, in a location that is handier for the user.</p><p/><p><b>Parameters:</b></p><p>The <i>aliasPath</i> specifies the <glossary tag="file path">name and location</glossary> of the <glossary tag="alias">alias</glossary> to be created. If you specify a name but not a location, the <glossary tag="alias">alias</glossary> is created in the <property tag="defaultFolder">defaultFolder</property>.</p><p/><p>The <i>originalFilePath/originalFolderPath</i> is the <glossary tag="file path">name and location</glossary> of the <keyword tag="file">file</keyword>/folder you want to make an <glossary tag="alias">alias</glossary> to. If you specify a name but not a location, LiveCode assumes the <keyword tag="file">file</keyword> is in the <property tag="defaultFolder">defaultFolder</property>.</p><p/><p><b>Comments:</b></p><p>You cannot create an alias to a disk volume.</p><p/><p>To find out which file an alias refers to, use the <b>aliasReference</b> <control_st tag="function">function</control_st>.</p><p/><p><img src="202653"/> <b>Important!</b> When creating an <glossary tag="alias">alias</glossary> on <glossary tag="Windows">Windows systems</glossary>, make sure the <glossary tag="alias">alias's</glossary> name ends with the <glossary tag="extension">extension</glossary> ".lnk" to ensure that it behaves properly when the user double-clicks it.</p>
</description>
</doc>