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: Richard Morton <email@hidden>
- Date: Sat, 16 Nov 2002 09:56:46 +1100
On Thursday, November 14, 2002, at 11:17 PM, Axel Luttgens wrote:
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.
That's right. I was just referring to the 'open' event - that which is
sent to an application when a file is dropped onto it.
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.
My understanding is that the AM resolves the alias before the
application gets the event, but I haven't read the docs. ;-)
Cheers,
Alias Mangler
_______________________________________________
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.