Re: Help..
Re: Help..
- Subject: Re: Help..
- From: Philippe GRUCHET <email@hidden>
- Date: Thu, 20 Mar 2003 02:51:11 +0100
From: Andrew Oliver <email@hidden>
Also, how would I create an alias to it on the Desktop?
This code snippet will make an alias of the Safari app on the user's
desktop
set theDesktop to path to desktop
tell application "Finder"
make new alias file at theDesktop to alias "Macintosh [NOBREAK]
HD:Applications:Safari.app:"
end tell
An implicit path is better for portability. (A very redundant problem!)
So, try:
tell app "Finder" to set x to application file id "sfri"
tell app "Finder" to make new alias file at desktop to x as alias
Kind regards,
Philippe Gruchet/SVM Mac
_______________________________________________
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.