Python Forum
Change mouse move speed in guibot script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change mouse move speed in guibot script
#1
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')
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  mouse move event/cinfiguration ttk/python janeik 4 984 Jul-03-2023, 05:30 PM
Last Post: deanhystad
  help with python mouse script z4rxxxx 0 1,107 Jan-15-2022, 04:39 PM
Last Post: z4rxxxx
  change mouse cursor (in Windows) mgroen 0 1,593 Nov-11-2020, 11:26 AM
Last Post: mgroen
  Move mouse and click in particular position biprabu 3 2,441 Sep-01-2020, 08:23 PM
Last Post: deanhystad
  Python module speed or python speed in general Enrique6 1 1,793 May-04-2020, 06:21 PM
Last Post: micseydel
  Cannot Change Python script to exe using Pyinstaller omar_mohsen 3 2,338 Dec-19-2019, 01:05 PM
Last Post: buran
  mouse 0.7.0 - mouse polling hate 125-1000hz penahuse 1 2,465 Dec-06-2019, 09:51 PM
Last Post: Larz60+
  How to really change dir in a script ? Usjes 1 1,997 May-25-2019, 09:36 PM
Last Post: DeaD_EyE
  change timing on py script kwfreverie 2 3,085 Dec-16-2017, 07:35 PM
Last Post: kwfreverie
  make it to move to mouse kripso 4 3,472 Nov-23-2017, 07:34 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020