• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Alias's in AppleScripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Aliases in AppleScripts
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: Madness & frustration... What is a file? What is a Path? (From: "John C. Welch" <email@hidden>)
 >Alias's in AppleScripts (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: Alias's in AppleScripts
  • Next by Date: panther time out bug (was: panther weirdness)
  • Previous by thread: Re: Alias's in AppleScripts
  • Next by thread: Re: Aliases in AppleScripts
  • Index(es):
    • Date
    • Thread