Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Popup Button Unique ID




On Jul 7, 2005, at 7:24 AM, Christopher Hickman wrote:

Chris,

Have you tried a call method to set the tag and see if it reads back
correctly in AppleScript?

call method "setTag:" of the_menu_item with parameter 12345
set the_tag_value to tag of the_menu_item
-- result: 12345

Does that work?

Topher

Chris - Topher,

I am not too familiar with Cocoa methods - although I hope to be soon. Anyway I couldn't get the method syntax correct - so I'll have to try later when I have a little more time.

I just feel like I am missing something - assigning a unique ID to a menu item seems like it is an essential requirement of a GUI. I mean I am just surpirsed that after hours of Googling I haven't run across anyone else who is trying to do this – it just has to be something I am missing - even simple HTML pop up menus have name/value properties. It just seems like I am making this too hard.

I'll post if/when i find a more elegant solution - in the mean time if anyone knows the answer, please enlighten me by posting.

Thanks

Chris _______________________________________________
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
References: 
 >RE: Popup Button Unique ID (From: "Christopher Hickman" <email@hidden>)



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.