• 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: Unresolved aliases to arglist of a droplet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unresolved aliases to arglist of a droplet


  • Subject: Re: Unresolved aliases to arglist of a droplet
  • From: Axel Luttgens <email@hidden>
  • Date: Mon, 11 Nov 2002 12:35:23 +0100

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 need to get references to alias files, not the originals, when they are dropped on an AppleScript saved as an APPL. I can't get back if the finder has already converted the reference to the original.

I'd settle for a way to tell that a conversion was done for now.

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?
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
evaluates the selection and sets S to a list of Finder references that won't change during your script's execution, whatever tthe user subsequently selects/deselects.

HTH
_______________________________________________
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: Unresolved aliases to arglist of a droplet
      • From: Richard Morton <email@hidden>
References: 
 >Unresolved aliases to arglist of a droplet (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: TIDs Inquiry
  • Next by Date: Re:How to get Palm Desktop (v 2.6, OS9) to create new event?
  • Previous by thread: Unresolved aliases to arglist of a droplet
  • Next by thread: Re: Unresolved aliases to arglist of a droplet
  • Index(es):
    • Date
    • Thread