Skip to content

Auto Hot Key Working and Not working. Help.

I've installed Auto Hot Key using wine. It runs perfectly and executes the scripts too, only when im inside the Wine window that displays the output of the script and its returns. However when i leave the window and go to any other window (eg, Thunar, Firefox, multiMC) the scripts stop working. Any ideas on how to get them to work? Ive tried enabling follow mouse in Window spy, however it doest really work. Ive also tried using the Linux alternatives like xdotool, however they do not have the functionaliuty i need.

0 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
83xpym

Author

4
posts
12
comments
1
media
View profile

6 comments

AutoHotkey requires a whole lot of Windows-specific windowing APIs, which I imagine are tricky to convert to X11 equivalents. I don't know much about it, but based my gut reaction would be advising you to giving up on that route. It will be messy if it's feasible at all.

What are you having trouble doing with xdotool?

3 points

Well, i was trying to create keybinds that can execute multiple commands. While i was able to execute one command a time, i wasnt able to execute a sequence of them and toggle them on and off. So thats one problem.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.