Page 2 of 2

Re: Option Menu to show menu item by code - Solved

Posted: Tue Aug 02, 2016 8:26 pm
by dunbarx
Interestingly, the line:

Code: Select all

click at the loc of btn "optionButton"
seems to be blocking, because if you do this:

Code: Select all

on mouseUp
   click at the loc of btn "yourOption"
   set the screenMouseLoc to aCalculationOfTheScreenMouseLocInRelationToTheOptionButton
end mouseUp
the mouse will not relocate until you have selected a menuItem. Those old threads on the forum had a kluge that did this, I think. I will try to find them before making a new kluge.

Craig

Edit.

Likely I misspoke. It isn't that the "click" line is blocking, but rather that an open MenuItem list is blocking. A selection must be made, or the mouse clicked somewhere else, to release that process.

Re: Option Menu to show menu item by code - Solved

Posted: Wed Aug 03, 2016 11:14 am
by richmond62