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: Tue, 12 Nov 2002 10:25:41 +1100
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.
...The finder selection works OK if the script is run as a compiled
script and I think about ignoring the dropped arglist and just asking
for the finder selection but I worry a whole lot about timing and
whether or not the selection will be valid.
Perhaps could you manage to drop a folder containing the aliases,
instead of the aliases themselves?
That works here, 10.1.5, AS 1.8.3.
This could help to avoid the changing selection related problems, but
may appear unfriendly to your users; depends on the nature of the
workflow.
Or to "freeze" the selection into a variable immediately at the
beginning of your script?
Just something like this:
tell application "Finder" to set S to the selection
That also works, from memory, but could conceivably be messed up by a
quick user click that deselects the items.
Cheers,
Alias Smith N Jones
_______________________________________________
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.