| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Hi All, My goal is to have an NSStatusItem created on launch of my application. When I compile everything is fine, but I get an error when launching the application that says: "Cannot get item 'statusMenu' (-1728.)" And then my menu is not created. So I am calling the code correctly, I just dont understand why my menu cannot be found. Here is my AppleScript: on will finish launching theObject set men to item "statusMenu" call method "createStatusBarItemTiteled:withImageNamed:withAltImageNamed:doesHighlight:menu:length:" of class "NSStatusBar" with parameters {"", "icon", "", true, men, 0.0} end will finish launching in my MainMenu.xib I have: 1. an NSMenu named 'statusMenu' (on the AppleScript Tab) 2. scope is global 3. AppleScript: is set to run the applescript that is running above (same file name) Can anyone tell me what might be wrong? The project is here: http://thejasonandannettefoundation.org/public/jason/RMPlugin.zip Thanks, -Jason |
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Studio mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-studio/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.