Re: Very Irritating Open Handler
Re: Very Irritating Open Handler
- Subject: Re: Very Irritating Open Handler
- From: Luther Fuller <email@hidden>
- Date: Mon, 04 Apr 2011 16:01:02 -0500
On Apr 4, 2011, at 3:40 PM, Axel Luttgens wrote:
>> So, in the case of a .webloc, the open location handler gets invoked as announced; this means that if you don't insert a:
> continue open location
> statement within that handler, the event would indeed be trapped.
>
> Now, I'm not sure whether issuing an error statement from within the handler is a good idea; what happens without that statement?
The 'open location' handler dies after doing the displays. Period.
I tried both 'return' and 'error' at the end to diagnose the behavior.
No change.
I'm not sure that 'open location' is a valid handler name, but the arrival of a .webloc in the 'open' handler seems to call it. (But you can't write 'my open location ...' because 'open location' seems not to be a valid handler name.)
I think there is no work-around for this ... the open handler is now just a 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