On Mac OS X 10.4.6 -
Does anyone know how to create an Applescript that creates an alias of a file on the desktop or other location? I want to create an alias of a file in the /Applications/Test folder on my startup disk on the desktop. The file is called test1.rtf.
I have tried:
tell application “Finder”
make new alias file to “/Applications/Test/test1.rtf” of startup disk at desktop
end tell
and also
tell application “Finder”
activate
make new alias file to “test1.rtf” of the folder “/Applications/Test/” of the startup disk at desktop
end tell
In each case I get this error:
Can’t get “test1.rtf” of the folder “/Applications/Test/” of the startup disk. Access not allowed.
I suspected the issue was with the permissions to the file or the folder it is in, but making them 777 did not fix the issue. Could it be an issue with the privileges to the startup disk itself?
Does anyone know how to do this?
Thanks!
Bill