Tuesday, June 27, 2017

#1 2017-06-15 05:45:50 pm

Registered: 2006-02-14
Posts: 113

Close a Pop Up Menu

I have a small script (so far) that I want to use to manipulate ScanSnap Manager. I need to stop the routine when a pop up menu opens and return the text of the item when it is selected .


tell application "System Events"
   application "ScanSnap Manager" activate --Bring ScanSnap to the Front
   click menu item "Settings..." of menu 1 of menu bar item "ScanSnap Manager" of menu bar 1 of application process "ScanSnap Manager" --Opens the Settings Box for ScanSnap
   click pop up button 1 of group 2 of window "ScanSnap Manager - Settings" of application process "ScanSnap Manager" --Opens the Profile Manager
--It is here I would like to halt the routine and proceed when I clicked on an option    
end tell

Model: iMac 27
AppleScript: 2.9
Browser: Safari 603.1.30
Operating System: Mac OS X (10.10)



Board footer

Powered by FluxBB

[ Generated in 0.180 seconds, 9 queries executed ]

RSS (new topics) RSS (active topics)