• 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
Sending an AppleScript Studio Object a message from Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: how to properly dealloc contents of a nib
  • Next by Date: Best way to implement a listing view (crosspost from omni)
  • Previous by thread: Re: Obtaining printer info
  • Next by thread: Best way to implement a listing view (crosspost from omni)
  • Index(es):
    • Date
    • Thread