← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #194589]: How to capture context menus --- use capture hotkey

 

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

j posted a new comment:
If the key-shortcut does not work (sometimes a keystroke closes a
context menu), you can write a small script like

wait(5)
print capture()

If you run this, you have 5 seconds to open your contextmenu or whatever
you need, then select the region to capture and you get the filepath
printed in stdout. The image will be located in the temp directory of
your OS.

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