Re: Responding to events
Re: Responding to events
- Subject: Re: Responding to events
- From: Joshua See <email@hidden>
- Date: Tue, 15 Apr 2003 21:21:04 -0500
On Tuesday, April 15, 2003, at 03:16 PM, Lee Phillips wrote:
How do I write an AppleScript in OSX (10.2.4) that responds to an
appleevent such
as GURL? I am mainly interested right now in making a script that
handles the
mailto: protocol.
I posted regarding this a month or two ago. Its a surprisingly involved
task. I had to ResEdit the applet as well as support the events, which
are GURLGURL (aka open location) and GURLMAIL. The latter I've only
seen used by the OS 9 mail script, but I kept support for it just the
same. Take only one argument, which will be the mailto URL. After
creating an applet. I set a custom type and creator code, deleted the
BNDL and FREF resources, modified the plst resource (though I probably
should have deleted it as well), and unchecked the bundle bit. This was
all in order to make a webmail program the default email client.
--
Sincerely,
Joshua See
_______________________________________________
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.