You should have received a copy of the GNU General Public License
along with Skeye. If not, see <http://www.gnu.org/licenses/>.
'''

__version__ = '1'

from skeye.cogs import cogbot, reelmemory, visualmap, descript
from skeye.cogs import latch, what, where, locate, zoomin, mark


bot = cogbot(
    reelmemory(
        visualmap(
            'itau00.png',
            descript('agencia', what((88, 110), (263, 423)), what((88, 110), (318, 363)))
        ),
        visualmap(
            'itau01.png',
            descript('name', what((148, 391), (15, 438)), what((279, 328), (190, 265)))
        ),
        visualmap(
            'itau02.png',
            descript('keyboard', what((650, 750), (410, 710))),
            descript(0, what((657, 667), (419, 430)), where('buttons')),
            descript(1, what((657, 667), (599, 610)), where('buttons')),
            descript(2, what((657, 667), (659, 670)), where('buttons')),
            descript(3, what((657, 667), (539, 550)), where('buttons')),
            descript(4, what((657, 667), (479, 490)), where('buttons')),
            descript(5, what((657, 667), (691, 702)), where('buttons')),
            descript(6, what((657, 667), (571, 582)), where('buttons')),
Exemple #2
0
You should have received a copy of the GNU General Public License
along with Skeye. If not, see <http://www.gnu.org/licenses/>.
'''

__version__ = '1'

from skeye.cogs import cogbot, reelmemory, visualmap, descript
from skeye.cogs import latch, what, where, locate, zoomin
from skeye.cogs import automate, click, Left


bot = cogbot(
    reelmemory(
        visualmap(
            'itau00.png',
            descript('agencia', what((88, 110), (263, 533), precision=0.9), what((88, 110), (318, 363)))
        ),
        visualmap(
            'itau01.png',
            descript('name', what((148, 391), (15, 438), precision=0.98), what((200, 391), (15, 438)), what((279, 328), (190, 265)))
        ),
        visualmap(
            'itau02.png',
            descript('keyboard', what((499, 806), (385, 741), precision=0.94)),
            descript(0, what((655, 675), (419, 430)), where('buttons')),
            descript(1, what((655, 675), (599, 610)), where('buttons')),
            descript(2, what((655, 675), (659, 670)), where('buttons')),
            descript(3, what((655, 675), (539, 550)), where('buttons')),
            descript(4, what((655, 675), (479, 490)), where('buttons')),
            descript(5, what((655, 675), (691, 702)), where('buttons')),
            descript(6, what((655, 675), (571, 582)), where('buttons')),