Sending an AppleScript Studio Object a message from Obj-C
Sending an AppleScript Studio Object a message from Obj-C
- Subject: Sending an AppleScript Studio Object a message from Obj-C
- From: Todd Hunter <email@hidden>
- Date: Thu, 01 Apr 2004 11:16:58 -0800
I have an AppleScript Studio (AS) app that has a window with a single button
on it. I subclassed NSApplication from within this AS app so that I can
access the sendEvent method. I want to send an event to the button's "on
clicked" handler from within sendEvent method so that it will appear as if a
user clicked on the button. What is the best way to implement this
functionality? Is there an article or sample code that gives an example on
how to do this?
--
Todd Hunter
Senior Macintosh Software Engineer
DigitalStream-USA, Inc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.