Re: Very Irritating Open Handler
Re: Very Irritating Open Handler
- Subject: Re: Very Irritating Open Handler
- From: Luther Fuller <email@hidden>
- Date: Fri, 01 Apr 2011 11:53:45 -0500
I've been doing more searching and found that we discussed the 'bmrk' problem in late 2009.
Let's look at the problem from another angle ...
Suppose you write an AppleScripted application intended for use by others and you have written an open handler to implement the Drag & Drop feature.
The application should only respond to certain identifiable files (.txt or .mp3, for example) and should simply ignore any other items dropped onto it. (This is easy to do with Select & Launch.)
Any user can accidentally include .webloc files in the D & D selection and as a result Safari will unexpectedly open, interrupting the user's train of thought. Once the user connects this unwanted behavior with your application, you will get a (perhaps indignant) bug report ending with "fix it!".
But, this seems to be a non-fixable problem. Try explaining that to an indignant user. (I don't think "It's Apple's fault" will help.)
Your only option is to remove the Drag & Drop feature. In other words, quit using the open handler.
'open' is dead! (Unless someone know a work-around.)
This behavior is certainly unwanted, therefore a bug. And perhaps a real "pomme de rue".
_______________________________________________
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