• 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: Custom URL Handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom URL Handling


  • Subject: Re: Custom URL Handling
  • From: Ken Thomases <email@hidden>
  • Date: Sun, 10 Aug 2008 02:36:02 -0500

On Aug 9, 2008, at 7:12 PM, Uli Kusterer wrote:

On 10.08.2008, at 01:50, Jacob Bandes-Storch wrote:
It doesn't seem to make sense to use the script suite stuff to receive the URL event.. shouldn't it be used for scripting only? Or am I mistaken?


Apple Events are simply a means for applications to communicate. Just like you can use AppleScript to tell an application to open a file (which sends an 'aevt'/'open' Apple Event), you can tell it to open a URL. So, using the scripting stuff not only implements the handler in a nice, object-oriented way, it also allows users to use scripting languages to achieve the same.

If you're not going to go to the trouble of making your application properly scriptable, which is a non-trivial task, I'd recommend that you just register a handler for the Apple Event. It's quite straightforward.


Cheers,
Ken
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Custom URL Handling (From: Jacob Bandes-Storch <email@hidden>)
 >Re: Custom URL Handling (From: Uli Kusterer <email@hidden>)
 >Re: Custom URL Handling (From: Jacob Bandes-Storch <email@hidden>)
 >Re: Custom URL Handling (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Copying id
  • Next by Date: Re: I don't understand why this is leaking...
  • Previous by thread: Re: Custom URL Handling
  • Next by thread: I don't understand why this is leaking...
  • Index(es):
    • Date
    • Thread