• 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: Responding to events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Responding to events
      • From: Lee Phillips <email@hidden>
References: 
 >Responding to events (From: Lee Phillips <email@hidden>)

  • Prev by Date: Re: Disk mounted
  • Next by Date: Re: list of (non-background) processes
  • Previous by thread: Responding to events
  • Next by thread: Re: Responding to events
  • Index(es):
    • Date
    • Thread