Re: Unresolved aliases to arglist of a droplet
Re: Unresolved aliases to arglist of a droplet
- Subject: Re: Unresolved aliases to arglist of a droplet
- From: Axel Luttgens <email@hidden>
- Date: Thu, 14 Nov 2002 13:17:05 +0100
Richard Morton a icrit:
On Monday, November 11, 2002, at 10:35 PM, Axel Luttgens wrote:
Doug McNutt wrote:
I'm pretty sure it was impossible to pass alias files to a droplet
in OS9 but has it been repaired in OS neXt?
Tried here with OSX 10.1.5 - AS 1.8
Dropped aliases seem to be immediately resolved.
I think this is the intended behaviour of aliases and that it's built
into the Alias Manager. Nothing to do with AS and not a bug. ResEd
is about the only app I can think of that will offer to open alias
files. Otherwise they get resolved because that's what's supposed to
happen.
I'm not sure this is fully correct.
After all, when you trash an alias file in the Finder, you aren't
trashing the original file... ;-)
The same way, AppleScript is able to access alias files for themselves.
For example, "info for" lets you know if you are manipulating an alias
file or not; or the Finder's class "alias file" has an "original item"
property.
The Alias Manager just provides the tools to create, update and resolve
alias files. It is up to the application that uses it to decide wether
it should always resolve aliases for its users or not.
A word processor (for example) may reasonably always resolve aliases. It
isn't intended to edit alias files, isn't it?
ResEdit, on the contrary, must allow the user to edit the alias file
instead of the original file.
In my opinion, AppleScript should always allow to at least make the
distinction between an alias file and its original file, and thus to act
accordingly.
In that sense, immediate resolution of alias files dragged on a droplet,
without any clue on what happened, seems to be somewhat excessive.
_______________________________________________
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.