Re: Option Menu to show menu item by code - Solved
Posted: Tue Aug 02, 2016 8:26 pm
Interestingly, the line:
seems to be blocking, because if you do this:
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.
Code: Select all
click at the loc of btn "optionButton"Code: Select all
on mouseUp
click at the loc of btn "yourOption"
set the screenMouseLoc to aCalculationOfTheScreenMouseLocInRelationToTheOptionButton
end mouseUpCraig
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.