Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > AppleScript Studio Apps Receiving AppleEvents

AppleScript Studio Apps Receiving AppleEvents
Thread Tools
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Feb 8, 2002, 07:09 AM
 
I've implemented an NSToolbar in my AS-S project, and I'm sending my app an AppleEvent when a toolbar item is clicked. I know for sure it's not my Cocoa code, as sending my app an AppleEvent from Script Editor doesn't work either. I'm just using the standard on <<event blahBSLS>> (I know you have to use double-crochets). Is Cocoa trying to receive the AppleEvents? If so, how can the toolbar items interact with the AS-S app?

Thanks!
     
Ibson  (op)
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Feb 9, 2002, 06:45 PM
 
Anyone?
     
Fresh-Faced Recruit
Join Date: Dec 2001
Location: NJ, USA
Status: Offline
Reply With Quote
Feb 10, 2002, 07:50 AM
 
Just a wild guess, but are you importing ApplicationServices/ApplicationServices.h ?

Steve W
Windows SysAdmin by day, OS X maniac by night...
     
Forum Regular
Join Date: Aug 2001
Status: Offline
Reply With Quote
Feb 10, 2002, 11:05 AM
 
FWIW, there is a very active AS List over at Apple.
     
Ibson  (op)
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Feb 11, 2002, 12:38 AM
 
Why do I need to import ApplicationServices.h when I'm using AppleScript to receive the AppleEvents? Bty, I'm aware of the AS-S list at Apple--I'l try posting it there.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:40 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2