Python Forum
Thread Rating:
  • 3 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hotkeys module
#1
researching a smooth way to do hotkeys (a way to have a single key press be passed to the program where that program then decides what to do based on what key was pressed) in python i found many modules.  looking over a few i found that each was specific to a single platform.  i would like to have a single module that can do hotkeys portably across all major platform as well a function in both CLI and GUI situations on each, where applicable.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
There's an example here: http://stackoverflow.com/questions/13564...ard-events
and here: http://code.activestate.com/lists/python-list/348481/
Reply
#3
that is trying to create the keypress events.  that looks fun and i might want to do that.  but today i am looking for a way to receive keypress events that happen in real life.  it's ok if it receives those simulated ones.  the idea is for the program to react in some way when an input press happens  if someone has written a vnc client in python for all the platforms then that might have the info needed to write one.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Keyboard hotkeys purushothama2222 4 2,175 Mar-14-2024, 07:57 PM
Last Post: suppliedorange
  Need help with infinite loop & making hotkeys/shortcuts Graxum 1 1,310 Aug-22-2022, 02:57 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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