← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #340219]: How to use Alt-PrintScreen keys on capture(Screen()) command?

 

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

    Status: Answered => Solved

CCIOLA confirmed that the question is solved:
Thanks, masuo!  Worked pretty good!

firstWindow = App.focusedWindow()
firstWindow.highlight(2)

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

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