← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #267301]: having a problem getting the region of an open window in 1.1

 

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

    Status: Answered => Open

Jitendra Patel is still having a problem:
yes i saw the revision mentioned in the changelog and installed
sikulixsetup-1.1.0-20150522.231039-82-forsetup.jar

the title of the window is Charlie [Running] - Oracle VM VirtualBox

there is no problem with the if statement as its commands are executed
when Charlie vm is not running and skipped when the vm is running

when the vm is stopped it gets started and the correct region is found

[log] App.focus: [1652:VBoxManage.exe (!C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm Charlie)] C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm Charlie
R[1184,103 496x880]@S(0)[0,0 1920x1080] E:Y, T:3.0

when the vm is running the window is focused however the region returned
is not the region shown above. i didn't move the window so it should
have the same region as the one shown above

[log] App.focus: [2356:VirtualBox.exe (Charlie [Running] - Oracle VM VirtualBox)] Charlie
[error] Region(-200,-200,100,100) outside any screen - subsequent actions might not work as expected
[error] Region(-200,-200,100,100) outside any screen - subsequent actions might not work as expected
R[-200,-200 100x100]@Screen null E:Y, T:3.0

hope that helps clear things up. I'll be busy the rest of the day but
I'll check back with you tomorrow

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