← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #203942]: Unable to automate File menu

 

Question #203942 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/203942

    Status: Open => Answered

RaiMan proposed the following answer:
Having the menu open press shift-ctrl-2 to make a screenshot when not
having the IDE in foreground (see IDE Preferences).

BTW: to open the file menu of notepad without any image stuff

App.focus("notepad")
wait(1) # wait shortly to get the notepad window to front
type("o", KeyModifier.CTRL) # opens the open dialog 
wait(3) # only needed to see it open

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.