• 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: Dynamic Sdef support - anyone had any luck? (Andy Klepack)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Dynamic Sdef support - anyone had any luck? (Andy Klepack)


  • Subject: RE: Dynamic Sdef support - anyone had any luck? (Andy Klepack)
  • From: Jesse Grosjean <email@hidden>
  • Date: Mon, 2 Feb 2009 14:28:32 -0500

> Has anyone had any luck implementing a dynamic sdef using a plugin model? Nothing fancy, targeting 10.5+, I haven't
> been able to locate any examples of this actually being done or documentation on how to do it.
>
> The 10.5 scripting release notes (http://developer.apple.com/ReleaseNotes/Cocoa/Foundation.html#Scripting) make a
> few allusions to this support but the closest implementation I have found is to use a static-sdef for the host application
> that has definitions for all the plugins it expects to load (a la http://lists.apple.com/archives/Applescript-
> implementors/2006/Aug/msg00002.html)

I have it mostly working in my apps. The code that merges together the
plugin sdefs can be found here:

http://github.com/jessegrosjean/blocks/blob/54b6bccb2fd144c4618376de2e73245267fecb25/BExtensionRegistry.m

Then search for "handleGetSDEFEvent". It's been a while since I looked
over that code, but it seems to be working OK for my apps.

Jesse
_______________________________________________

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

  • Follow-Ups:
    • RE: Dynamic Sdef support - anyone had any luck? (Andy Klepack)
      • From: Andy Klepack <email@hidden>
  • Prev by Date: Re: becomeFirstResponder override issue
  • Next by Date: Re: Read lines from very large text file
  • Previous by thread: Re: NSOperationQueue bug with leopard 10.5.6?
  • Next by thread: RE: Dynamic Sdef support - anyone had any luck? (Andy Klepack)
  • Index(es):
    • Date
    • Thread