Simulate a popup menu button

Lars Brehmer larsbrehmer at mac.com
Tue Jul 17 05:05:52 EDT 2012


I am trying to simulate the action of using a popup menubutton, but I can't figure out how to do the middle step (if that is even possible)

     click at the buttonLoc 

reveals the menu choices and

     send "menuPick" && "the menu choice" 

executes the menuPick. 

But I can't figure out to hilite the menu choice line while the menu is visible. 

     select menuItem 2 

doesn't actually hilite the menu line. What am I missing here?

Cheers,

Lars




More information about the use-livecode mailing list