alias to OS X app?

Ken Ray kray at sonsothunder.com
Thu Feb 23 16:36:23 EST 2006


On 2/23/06 3:24 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:

> Apparently the "create alias" command can only be used on files, not
> folder.
> 
> So how does one create an alias to a .app bundle?

You can use AppleScript:

tell app "Finder"
  set tFile to <pathToApp>
  make new alias file at <pathToFolderHoldingAlias> to tFile
  set the name of (the result) to <shortcutName>
end tell

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com






More information about the use-livecode mailing list