import os
import shutil
dir = getBundlePath()
img = capture()
shutil.mv(img, os.path.join(dir, "captured.png")
and run it from commandline using
java -jar path-to-sikuli-script.jar path-to-your-somewhere.sikuli
after you have arranged the critical screen situation.
You should be asked to capture. Capture the dialog no matter what it looks like. After the script has terminated, you should find the captured image as captured.png in the folder somewhere.sikuli.
save the following script to somewhere.sikuli
import os
import shutil
dir = getBundlePath()
img = capture()
shutil.mv(img, os.path.join(dir, "captured.png")
and run it from commandline using sikuli- script. jar path-to- your-somewhere. sikuli
java -jar path-to-
after you have arranged the critical screen situation.
You should be asked to capture. Capture the dialog no matter what it looks like. After the script has terminated, you should find the captured image as captured.png in the folder somewhere.sikuli.
Talk about your experiences ;-)