Create Alias [ Result ; From ; To ]
Create Alias creates an alias (on Mac) or shortcut (on Windows) that points to the target item.
Parameter | Description |
---|---|
Result | Optional. A target field to receive any error. Will be left empty when there is no error. |
From | Path to the alias target. The target must exist. |
To | Path to an alias name. This must not exist. |
Examples
To create an alias named “movie alias.mov” on the desktop that points to a file named “cartwheel.mov” in the default folder:
Create Alias [
From: "cartwheel.mov"
To: ".D/movie alias.mov" ]
To create an alias named “Start.fmp12” in the default folder that points to a file named “Master.fmp12” in the application folder and store any potential error in the MyTable::Response field:
Create Alias [
Select;
Result: MyTable::Response;
From: ".A/Master.fmp12"
To: "Start.fmp12" ) ]