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 226
Expand file tree
/
Copy pathcreate-alias.lcdoc
More file actions
62 lines (42 loc) · 1.68 KB
/
create-alias.lcdoc
File metadata and controls
62 lines (42 loc) · 1.68 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
Name: create alias
Synonyms: new alias
Type: command
Syntax: create alias <aliasPath> to {file | folder} <originalPath>
Summary:
Makes a new <alias>, <symbolic link>, or <shortcut> to the specified
<file> or folder.
Introduced: 1.1
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Security: disk
Example:
create alias "Music Shortcut" to file "Music"
Example:
create alias preferredFileLocation to file "../Startup"
Example:
create alias "Photographs" to folder "Pictures"
Parameters:
aliasPath:
The aliasPath specifies the name and location of the alias to be
created. If you specify a name but not a location, the alias is created
in the defaultFolder.
originalPath:
The name and location of the
file/folder you want to make an alias to. If you specify a name but not
a location, LiveCode assumes the file is in the defaultFolder.
Description:
Use the <create alias> <command> to create a second icon for a <file> or
folder, in a location that is handier for the user.
You cannot create an alias to a disk volume.
To find out which file an alias refers to, use the <aliasReference>
<function>.
>*Important:* When creating an <alias> on <Windows|Windows systems>,
> make sure the <alias|alias's> name ends with the <extension> ".lnk" to
> ensure that it behaves properly when the user double-clicks it.
References: revCopyFolder (command), create folder (command),
revCopyFile (command), rename (command), revMoveFolder (command),
function (control structure), aliasReference (function),
symbolic link (glossary), shortcut (glossary), Windows (glossary),
command (glossary), alias (glossary), extension (glossary),
file (keyword), defaultFolder (property)
Tags: file system