forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaliasReference.lcdoc
More file actions
37 lines (21 loc) · 1.32 KB
/
Copy pathaliasReference.lcdoc
File metadata and controls
37 lines (21 loc) · 1.32 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
Name: aliasReference
Type: function
Syntax: the aliasReference of <aliasPath>
Syntax: aliasReference(<aliasPath>)
Summary: <return|Returns> the name and location of the <file> or <folder> that an <alias>, <symbolic link>, or <shortcut> refers to.
Introduced: 1.1
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Security: disk
Example:
the aliasReference of "/Disk/Folder/Alias"
Example:
put the aliasReference of it into fileToOpen
Parameters:
aliasPath: The location and name of the alias whose referenced file or folder you want to get. If you specify a name but not a location, LiveCode assumes the file is in the defaultFolder.
The result: If the <aliasPath> does not exist, the <aliasReference> <function> returns <empty> and the <result> is set to "can't get".
Returns: The <aliasReference> <function> <return|returns> the name and location of a <file> or <folder>.
Description:
Use the <aliasReference> <function> to perform an operation on a <file> after the user has selected an <alias>, <symbolic link>, or <shortcut> to the <file>.
References: file (keyword), empty (constant), create alias (command), function (control structure), symbolic link (glossary), shortcut (glossary), return (glossary), alias (glossary), folder (glossary), result (function), aliasReference (function)
Tags: file system