Simulate a popup menu button

J. Landman Gay jacque at hyperactivesw.com
Wed Jul 18 13:02:45 EDT 2012


On 7/18/12 12:03 PM, Lars Brehmer wrote:
> Thanks once again Craig!
>
> But again no.
>
> The popup button is already in place. It has 7 menu items, and 6 of
> those have a submenu with several choices. I simply want to (in a
> script) simulate clicking on it (done) then hiliting one of the items
> and then show that items submenu and hiliting one of those items and
> then execute picking that item (also done.) I just cant figure how to
> show the menu choices and hiliting them.

I'm not sure you can, since the menus respond only to physical clicks. 
But you could test:  click at the loc of button myFakeCursorButton

I don't know if it will work.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list