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 3,160 Jul-03-2023, 05:30 PM
Last Post: deanhystad
  help with python mouse script z4rxxxx 0 1,583 Jan-15-2022, 04:39 PM
Last Post: z4rxxxx
  change mouse cursor (in Windows) mgroen 0 2,090 Nov-11-2020, 11:26 AM
Last Post: mgroen
  Move mouse and click in particular position biprabu 3 3,316 Sep-01-2020, 08:23 PM
Last Post: deanhystad
  Cannot Change Python script to exe using Pyinstaller omar_mohsen 3 3,251 Dec-19-2019, 01:05 PM
Last Post: buran
  mouse 0.7.0 - mouse polling hate 125-1000hz penahuse 1 3,219 Dec-06-2019, 09:51 PM
Last Post: Larz60+
  How to really change dir in a script ? Usjes 1 2,563 May-25-2019, 09:36 PM
Last Post: DeaD_EyE
  change timing on py script kwfreverie 2 4,017 Dec-16-2017, 07:35 PM
Last Post: kwfreverie
  make it to move to mouse kripso 4 4,344 Nov-23-2017, 07:34 PM
Last Post: metulburr
  Creating a program that records speed in a speed trap astonavfc 7 8,876 Nov-07-2016, 06:50 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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