New question #660881 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660881


I currently have the code below.. and it takes the screenshot just fine.. but 
it cuts off the left and right side of the screenshot

It also doesn't seem to always take the middle of the focus app as well. 

How do i add another 50 pixels all around possible?

print "Taking SS..."    
focusWindow = App.focusedWindow()
regionINFO = capture(App.focusedWindow())
shutil.move(regionINFO, os.path.join(r'C:\Screenshots', 'Dummy1.png'))
print "SS Done..."

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to