Python Forum
Python 3+ kybd and mouse control keycodes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3+ kybd and mouse control keycodes
#6
I am using Python 3.6 in Linux Mint 19.2 with Autokey 3 which works well in every app, except it does not have mouse support yet.

With the Python keyboard and mouse keycodes I wanted to write a script to standardize the "open and switch to newly opened tab" action of Firefox and the Vivaldi browser.

Firefox (and Chrome/Chromium) accomplishes this with the click of the mouse scroll wheel - a single handed operation.

Vivaldi uses the combination of the <shift>+<left mouse click> for the same action - a two handed operation.

I wondered if I can emulate this with Autokey and use it with Vivaldi.
Linux Mint Cinnamon 21.3 - Python 3.10.12 - Autokey-gtk 0.96.0 as of 2024-01-13.
Reply


Messages In This Thread
RE: Python 3+ kybd and mouse control keycodes - by ineuw - Aug-20-2019, 07:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  mouse move event/cinfiguration ttk/python janeik 4 1,079 Jul-03-2023, 05:30 PM
Last Post: deanhystad
  help with python mouse script z4rxxxx 0 1,143 Jan-15-2022, 04:39 PM
Last Post: z4rxxxx
  db migration(db version control) for python lubaz 2 2,780 May-30-2021, 01:36 PM
Last Post: lubaz
  python 3 raspberry pi 4 dual control motor programming problem yome 0 1,990 Mar-21-2021, 05:17 PM
Last Post: yome
  Control Mouse and Keyboard Across the Country Without VNC on Target PC Khuber79 5 3,027 Feb-21-2021, 02:42 AM
Last Post: NullAdmin
  control a linux program with python Fifoux082 9 4,115 May-08-2020, 04:24 PM
Last Post: Fifoux082
  using input() to control python turtles amh80 4 3,638 Jan-11-2020, 06:08 AM
Last Post: joe_momma
  mouse 0.7.0 - mouse polling hate 125-1000hz penahuse 1 2,545 Dec-06-2019, 09:51 PM
Last Post: Larz60+
  Windows Volume Control using python Arun 1 4,771 May-17-2019, 02:50 PM
Last Post: Larz60+
  take over control of mouse/keyboard ian 1 3,320 Dec-29-2018, 10:43 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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