AppleScript Support with Plugin
-
Hello,
can somebody please help me.
I want to create a pluging witch adds applescript support to my
application..
Thanks for all kind of help -
On Thu, Mar 13, 2008 at 6:36 AM, Herr Thomas Bartelmess <
<thomas.bartelmess...> wrote:
> Hello,
> can somebody please help me.
> I want to create a pluging witch adds applescript support to my
> application..
Here's a good starting point for making your app scriptable:
<
http://developer.apple.com/documentation/Cocoa/Conceptual/ScriptableCocoaAp
plications/index.html
>
No plugins are required for this, by the way.
sherm-- -
Sorry for my bad explaination,
i have to write a plugin for a programm (this programm is not written
by me),
and my plugin should be callable from the outside (with applescript).
anyway... thanks for the help
thomas
Am 13.03.2008 um 17:41 schrieb Sherm Pendley:
> On Thu, Mar 13, 2008 at 6:36 AM, Herr Thomas Bartelmess <thomas.bartelmess...>> >
>> wrote:
> Hello,
> can somebody please help me.
> I want to create a pluging witch adds applescript support to my
> application..
>
> Here's a good starting point for making your app scriptable:
>
> <http://developer.apple.com/documentation/Cocoa/Conceptual/ScriptableCocoaAp
plications/index.html
>
> No plugins are required for this, by the way.
>
> sherm--
-
on 3/13/08 5:36 AM, Herr Thomas Bartelmess at <thomas.bartelmess...>
wrote:
> can somebody please help me.
> I want to create a pluging witch adds applescript support to my
> application..
Try these resources:
http://developer.apple.com/cocoa/applescriptforapps.html
http://developer.apple.com/documentation/Cocoa/Conceptual/ScriptableCocoaAp
p
lications/SApps_intro/chapter_1_section_1.html
http://developer.apple.com/technotes/tn2002/tn2106.html
http://developer.apple.com/releasenotes/Cocoa/Foundation.html#Scripting
http://developer.apple.com/samplecode/ScriptingAutomation/index.html
And the applescript-implementors mailing list will be useful, both signing
up for the list and posting questions there, and searching through the
mailing list archives (search/browse the archives... there are some
discussions of plugin stuff there).
http://lists.apple.com/mailman/listinfo/applescript-implementors
--
John C. Daub }:-)>=
<mailto:<hsoi...> <http://www.hsoi.com/>
"...as the war machine keeps turning, death and hatred to mankind." - Black
Sabbath -
Thanks for your Help everyone.
I haven't get what i needed yet.
I have to write a plugin for an application (Daylite from
Marketcircle). An this plugin should extend the scripting commands
(Incoming Call). So i have to extend the .sdef file from a plug-in.
Thanks for any help from anyone
Thomas -
on 3/13/08 1:42 PM, Herr Thomas Bartelmess at <thomas.bartelmess...>
wrote:
> Thanks for your Help everyone.
> I haven't get what i needed yet.
> I have to write a plugin for an application (Daylite from
> Marketcircle). An this plugin should extend the scripting commands
> (Incoming Call). So i have to extend the .sdef file from a plug-in.
>
> Thanks for any help from anyone
Ah....
I don't know how you'd accomplish that. I believe somehow the parent
application (Daylite) would have to be scriptable itself or at least aware
it's plugins were scriptable so it knew to load up the scripting definitions
from the plugins and expose them to the greater OSA architecture.
My app that I'm making scriptable is an app shell with lots of plugins,
scripting functionality in both the app itself and the plugins, but I
control all pieces. And I do have to make my app manually synthesize the
main sdef from the app and plugin sdef files. See those URL's I sent you for
how to do this.
But again, if that Daylite app isn't scriptable or aware of its plugins
being scriptable, not sure how to accomplish this. You could always contact
the developers of Daylite and ask them.
--
John C. Daub }:-)>=
<mailto:<hsoi...> <http://www.hsoi.com/>
"I hold all the combinations to give you peace of mind." - Dave Wyndorf


