Python Forum

Full Version: Change mouse move speed in guibot script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i ran this test script from guibot and was wondering if there is a way to speed up the mouse or just skip the move and just click on the found image?
I've searched google and tried to see if there is options in the configuration that i could change easy but came up empty.

Code below:

import guibot

from guibot.guibot_simple import *

initialize()
add_path(r'C:\Users\me\Desktop\snaps')

if exists('file32.jpg'):
    click('file32.jpg')
else:
    type_text('Shapes do not exist')
Hi @rulltartan, you can use the smooth_mouse_drag setting as documented in the config API:

https://guibot.readthedocs.io/en/latest/...mouse_drag

Since me and other maintainers of the project don't have high presence in this forum I would recommend that you simply post an issue at the github page of the project:

https://github.com/intra2net/guibot/issues

In this way we will be able to reply faster next time :) Also, any recommendations on the documentation, API, or anything you found difficult are welcome as an issue too.