Re: Create file alias on user desktop
Re: Create file alias on user desktop
- Subject: Re: Create file alias on user desktop
- From: Emmanuel <email@hidden>
- Date: Sun, 15 Feb 2004 12:34:14 +0100
At 3:54 AM -0300 2/15/04, mrykoga wrote:
>
Does anyone know how to create a file alias to a POSIX style
>
path on user desktop? I have to use the POSIX path because I
>
need to call the applescript inside a bash script.
I think you got the replies you need to have your script work.
Maybe you're interested in the following information regarding POSIX path and POSIX file.
1. "POSIX path" is basically a property of strings, but it works also on the AppleScript references to files. "POSIX path" does its best to make AppleScript paths into posix paths. The returned quantity may be a non-existing entity.
POSIX path of "Mackintosh HD:Appleecations:haiTunes.ap:" -- non existing
--> "/Mackintosh HD/Appleecations/haiTunes.ap/"
POSIX path of "Macintosh HD:Applications:iTunes.app:" -- existing
--> "/Applications/iTunes.app/"
2. "POSIX file" does its best to make posix paths into AppleScript paths. Here also the returned quantity may exist or not. "POSIX file" forces a coercion of string into a file reference.
POSIX file "Sunday, 15/02/2004" -- non existing
--> file ":Sunday, 15:02:2004"
POSIX file "/Applications/iTunes.app/" -- existing
--> file "Macintosh HD:Applications:iTunes.app:"
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.