In Leopard my Carbon application doesn't have to use an aete
anymore. Excellent.
I see here in the release notes:
Support for Dynamic .sdef-Declared Scriptability
... For "dynamic" OSAScriptingDefinition Info.plist entries, this
function sends an 'ascr'/'gsdf' Apple event, so you can
return .sdef scripting declarations that are computed at run-time,
to take plug-in scriptability into account, for instance. You have
to register a handler for the Apple event.
I register a handler for ascr:gsdf but am not receiving it. It's
not declared in the app's sdef itself. It that the cause?
Thanks to an off-list reply from one of the more shy retiring list
members, that problem is solved.
In case anyone is interested, one difference in behavior is that
'ascr:gdut' is still sent first thing after RAEL but 'ascr:gsdf' is
not. I was actually expecting gsdf to be first (because that would be
the cue to install the sdef handlers of your app's frameworks and
bundles) and then fallback to gdut when not handled.
Cheers,
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@