Re: Droplet References Bug
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