Re: Setting a menu item.
Re: Setting a menu item.
- Subject: Re: Setting a menu item.
- From: Wayne Melrose <email@hidden>
- Date: Fri, 09 Mar 2012 18:14:46 +0100
I actually want the opposite. I already know the name of the folder I want the menu to select.
So I want the menu to refresh and then go to a particular menu item. (my new folder name)
Sent from my iPhone Popup buttons have several methods for getting the selected item, but I can't tell from your post whether the new folder is the currently selected item after you refresh your list. If it is, then something like thePopup's titleOfSelectedItem() will get you the string for that item (assuming thePopup is the IBOutlet for your popup button).
Ric On Fri, Mar 9, 2012 at 6:06 AM, wayne melrose <email@hidden> wrote:
Hi all,
I have an app that has a pop up menu that is populated with a set of folder. Folders are added to this location with the same application. After the new folder has been added, I have no problem refreshing the contents of the popup to contain the new folder, however how does one target the newly created folder.
ie How does one target a menu item with ASObjC. I had a solution in applescript studio set the current menu item to menu item strNewFolderName
Basically I'm after the ASObjC equivalent.
Thanks in advance!
------------------------------------------------- wayne melrose email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden