← Back to team overview

sikuli-driver team mailing list archive

[Question #283780]: how to change default screen to a custom region?

 

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

Hi!
Im making a bot for a game on bluestacks and i need it to only look for matches inside bluestacks window, but sometimes it clicks on my desktop or even on a stream that im watching during the farm.
So i tried to solve it like this:
SCREEN = "custom region created via IDE toolbar"

didnt work (i moved bluestacks window outside the defined region and bot still found matches there)

then i tried:
r = "custom region created via IDE toolbar"

and wrote "r." before each exists, wait and click function, it stopped working completely.

Im only using one monitor, also each click, wait and exists functions contain only 1 argument that has an image created via "insert screenshot" button on the IDE toolbar.

Please HALP :O


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