Questions tagged [autokey]

61 questions
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
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
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
votes
1 answer

Is there any way of adding Chinese characters to AutoKey?

Each time I add Chinese characters to AutoKey and set an autokey. The just don't show up in the output. Does anyone know a way of including them?
wyc
  • 1,711
2
votes
1 answer

How to save autoKey settings?

I have installed AutoKey and remapped many keys. I want to save the settings so that in case I need to switch machines I can easily set up the new machine.
1
vote
2 answers

What are the mouse scripts for Autokey?

(Autokey's documentation is discontinued so i am posting here since it's a Linux software and there is no forum available) I use Autokey to create macros for games, but i haven't found in the documentation the script to: do a right click do a left…
Danyl Bekhoucha
  • 191
  • 1
  • 2
  • 8
1
vote
2 answers

How to open a window using autokey

In autohotkey I have used Run command to open window or files. Is there any way for the same task in autokey. In my case I have to open folder and create a folder with name sample. my not working code…
1
vote
2 answers

Sending the Space key in Autokey

I'm trying to make an autokey script to send the date when I press the assigned hotkey. In the end Im hoping for it to look something like "September 20th, 2022". So far what I have is, system.exec_command("date +%B-%d-%Y") which sends the date but…
BOB 652
  • 11
1
vote
1 answer

How to run autokey on startup in Ubuntu 20 (FF)?

I am running some keyboard shortcuts on autokey in Ubuntu 20.04. How can I run the service automatically on startup?
rotator
  • 11
1
vote
1 answer

Can't map capslock key using AutoKey

My goal is to map CapsLock to Backspace. When I get to this point, pressing the CapsLock key doesn't do anything and will actually crash AutoKey.
1
vote
1 answer

AutoKey - how do I make it send a message at an interval

How can one configure AutoKey in such a way that it can send a specific sentence in an interval of, say, 5 seconds? So, if I wanted to type "Hello!" in a game chat while I am AFK every 5 seconds, how would I go on about doing that?
0
votes
0 answers

How to run Autokey without root privileges?

I made some shortcuts using autokey-gtk and they worked fine. However, I need to run them on a computer that I don't have root privileges, so I can't install it using apt. What I've tried: I cloned the repo from git (I cant install it, it requires…
Vitor Abella
  • 7,537
0
votes
1 answer

How do I hold down left click in AutoKey

I'm using the latest autokey version. The github page only explains how to send a mouse click (i.e. press and release)
owo
  • 1
0
votes
1 answer

Autokey gtk: how to copy current line to clipboard?

Anyone familiar with autokey-gtk that knows how to copy the entire line which my cursor is currently at? Or more specific: how to add the current line to the clipboard? I can make a script that paste what is selected by the mouse. But I do not want…
0
votes
1 answer

How do assign a new folder for scripts that Autokey recognizes?

I want to point autokey to a new folder containing scripts and having a hard time of it. How to get autokey to recognize the new folder and list the scripts inside the interface. I've tried using the Preference to set scripts engine folder but can…