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

Hey guys, I have this function to take screenshots:

def captureImage():                                                             
                                
    captureScreenshot = shutil.move(capture(Screen()), screenshotsDirectory + 
'NameOfImg_' + (str(int(numPrint))) + '.png')

But it takes screenshot of the whole screen. I want to capture only a window, 
using something similar as Alt+PrintScreen keys.

Can I use something like this on (capture(Screen()) command?

Regards,
Carol Ciola


-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to