• 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: "info for" weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "info for" weirdness


  • Subject: Re: "info for" weirdness
  • From: Rob Jorgensen <email@hidden>
  • Date: Sat, 8 Mar 2003 19:41:07 -0500

At 5:45 PM -0500 3/8/03, Marc K. Myers wrote:
Date: Sat, 08 Mar 2003 20:17:24 +1100
Subject: Re: "info for" weirdness
From: Shane Stanley <email@hidden>
To: AS lists <email@hidden>

On 8/3/03 6:11 PM +1000, Marc K. Myers, email@hidden, wrote:

When I execute it from Script Editor the "This file is an alias"
message is displayed. When I execute it as a droplet using the same
alias file it isn't. I can't debug it because it works just fine in
Script Editor. Has anyone got a clue as to why I'm getting this
behavior?

When you drag and drop, any aliases are resolved before the information is
passed to the droplet (or any other app). It has ever been thus.

Once upon a time I knew that. I haven't been doing much scripting lately and it must have gotten moved offline. The question, now, is "Is there any scriptable way to detect if a dropped file is an alias?"

How about check for Finder's "original item". If it's there, it's an alias.

--

Rob Jorgensen
Ohio, USA
_______________________________________________
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.

References: 
 >Re: "info for" weirdness (From: "Marc K. Myers" <email@hidden>)

  • Prev by Date: Re: "info for" weirdness
  • Next by Date: Re: New scripter Q: Success, but a couple of questions.
  • Previous by thread: Re: "info for" weirdness
  • Next by thread: Re: "info for" weirdness
  • Index(es):
    • Date
    • Thread