Questions tagged [autokey]

60 questions
9
votes
3 answers

How to define AutoKey shortcut which sends the same keystroke to the window with certain title

How to define a global shortcut Ctrl+a 1 with AutoKey which sends the same keystroke Ctrl+a 1 to the window with title 'gnu screen' ? If there is no such titled window it should show a popup message "Couldn't find destination window".
zuba
  • 2,373
  • 4
  • 33
  • 55
9
votes
2 answers

How to make Autokey type Unicode characters?

I have a problem with Autokey: I can't copy-paste through it a special Unicode character. Here is an example: I am French, and in French writing, you use a space before a semi-colon. But in formal typography, you don't use a regular space before a…
yoannjap
  • 111
  • 1
  • 2
9
votes
1 answer

Is there an alternative to AutoKey?

This questions was already asked here 7 months, but had no correct answer. So I would like to ask again: Is there an alternative to AutoKey, which executes text expansions, when specific abbreviations are typed? My problem is that AutoKey skips…
rapstacke
  • 315
  • 3
  • 7
6
votes
2 answers

AutoKey inserts blank lines

Situation GNOME Shell AutoKey / autokey-gtk it has a predefined shortcut "adr" which should write an address after hitting space and a shortcut "date" which should write the current date (after hitting tab) Problem no matter what I define, "adr"…
LeMike
  • 275
  • 3
  • 11
6
votes
1 answer

Firefox 94 Broke My Hot Keys

In Kubuntu 20.04, I use autokey to create hotkeys that launch websites. Prior to Firefox 94, these hot keys had no difficulty launching pages, but now each time I try to launch a page I get this error: Firefox is already running, but is not…
Lonnie Best
  • 2,174
  • 2
  • 32
  • 42
5
votes
2 answers

How to create an AutoKey script that pastes from clipboard?

Before switching to Ubuntu I used to use AutoHotkey for the sole purpose of pasting from my clipboard, the simple command was: ~f2:: clipboard = %clipboard% send %clipboard% {enter} or something along those lines. Does anyone have a similar script…
Steve Urkel
  • 51
  • 1
  • 3
5
votes
1 answer

How to setup AutoKey for text auto-completion

How do I setup AutoKey to get the following result? I type a word like ubu in a text editor A window opens with the suggestion ubuntu I can select ubuntu through TAB-key ubu gets replaced with ubuntu
Tom
  • 177
  • 1
  • 5
  • 14
4
votes
0 answers

How to manipulate the keypress that applications recieve?

Basically what I want is to create a DIY alternative for autokey because it seems to be so buggy and I can't get it to work on my PC. What I want to know now is how I can receive a key combination and send something else to an application for…
yukashima huksay
  • 917
  • 5
  • 14
  • 29
4
votes
3 answers

How to send alt + f7 key from autokey

I want to send alt+f7 keys from autokey. Following are the code samples which I tried: keyboard.send_keys("+") keyboard.send_key("+") keyboard.fake_keypress("+") I tried with repeat=1 also. It doesn't seem to work. Can…
q126y
  • 299
  • 2
  • 10
4
votes
3 answers

Alternative to Autokey (text expander program)

for more than a year I have been looking for simple and stable text expander application on Ubuntu. There is Autokey, but it doesn't work for many people (there are a few threads here about this). For me (Ubuntu 13.10) it crashes all the time and…
Jan Onesork
  • 69
  • 1
  • 5
4
votes
2 answers

How can I simulate Alt F4 using Autokey or another method

OS: Ubuntu 18.04 I just switched over to Linux and Autokey. In Autokey, I would like use Alt+X to send the Alt+F4 key stroke. I like to use this key stroke to automatically close or exit the most active window or program in the foreground. I have…
Perry_M
  • 43
  • 1
  • 4
4
votes
1 answer

Unable to run Autokey Ubuntu 18.04

I am relatively new to Linux/Ubuntu (so please take it easy on me) and I am trying to install Autokey to use the text expansion functionality. I have tried installing it from the instructions on the Github page here -…
Ian J
  • 51
  • 1
  • 6
4
votes
0 answers

Remapping USB number keypad as text macros?

I bought a USB numberpad with the idea of programming some Autokey macros onto it. Using xev, however, I see that the system does not recognize any difference between its keys and those on my main board. Is there any way of assigning separate keys…
Daniel Rosehill
  • 361
  • 2
  • 3
  • 14
3
votes
0 answers

Can't get autokey to work

After installing autokey I tried to run it by: autokey-gtk But I got: Traceback (most recent call last): File "/usr/local/bin/autokey-gtk", line 20, in from autokey.gtkapp import Application File…
yukashima huksay
  • 917
  • 5
  • 14
  • 29
3
votes
1 answer

How to input arrow keys in autokey

I am trying to globally apply a sublime like parenthesis with phrase defined in autokey that when triggered types () and moves mouse cursor left once which is pressing left arrow key in the keyboard. Currently I am doing... ()| -> left arrow once ->…
Evan S
  • 377
  • 2
  • 6
  • 14
1
2 3 4