Re: Alias's in AppleScripts
Re: Alias's in AppleScripts
- Subject: Re: Alias's in AppleScripts
- From: Mr Tea <email@hidden>
- Date: Thu, 13 May 2004 16:53:46 +0100
On 13 May 2004, at 3740 pm, Doug McNutt wrote:
When an icon is dropped onto an AppleScript application Finder
resolves any aliases and provides only the final target file. But it
provides it as an alias! Why? I really don't think it's possible for a
user to drop the icon and then move the target while the AppleScript
is running.
Change the script droplet to get the Finder's selection, in place of
the item reference returned by the drop. This will always return a
reference to the dropped item, regardless of whether it is an alias
file or an original file/folder (unless you very quickly change the
selection after dropping - eg, by accidentally clicking on the droplet
with a cack-handed twitch of the finger, just as you are dropping
something onto it).
T.
_______________________________________________
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.