• 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: Droplet References Bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Droplet References Bug


  • Subject: Re: Droplet References Bug
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 14 May 2012 08:23:52 -0500

I just remembered a problem I discussed here some time ago which may be related.
So, I will bring it up, again.

Consider the following script ...

on open dropList


end open

Yes, that's all there is to it. Nothing else. If you drag & drop a bunch of files ... nothing happens.
That's is as expected.

BUT ... If the drag & drop includes a .webloc file, Safari (on my Mac) opens to the referenced page.

If you use this slightly more complicated script ...

on open dropList
repeat with dropItem in dropList
tell application "Finder" to name of item dropItem
display dialog the result buttons {"Next"} default button 1
end repeat
end open

You will find that the inclusion of a .webloc file in the drag & drop will kill the script when that file is encountered in dropList.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Droplet References Bug
      • From: Shane Stanley <email@hidden>
References: 
 >Droplet References Bug (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Droplet References Bug
  • Next by Date: Re: Droplet References Bug
  • Previous by thread: Re: Droplet References Bug
  • Next by thread: Re: Droplet References Bug
  • Index(es):
    • Date
    • Thread