Questions tagged [autokey]

AutoKey is a desktop automation utility for Linux and X11

From the AutoKey website:

AutoKey is a desktop automation utility for Linux and X11. It allows you to manage collection of scripts and phrases, and assign abbreviations and hotkeys to these. This allows you to execute a script or insert text on demand in whatever program you are using.

84 questions
1
vote
1 answer

autokey vigenere decryption in c#

This is my code to decrypt autokey vigenere cipher algorithm string cipherText = "zicvtwqngkzeiigasxstslvvwla"; string key = "deceptive"; key = key.ToLower(); cipherText = cipherText.ToLower(); int klength = key.Length; int kslength =…
1
vote
4 answers

Can a script not forget variable content after script was executed ? [autokey] [python]

script 2 doesn't work because variable CODE is forgotten after script 1 is executed. script 1 (hotkey is set to 1) code = 123 script 2 (hotkey is set to 2) if code == 123: keyboard.send_key("G") How to make this or an analogue ? I need…
12oad
  • 11
  • 1
1
vote
1 answer

AutoKey Ctrl+Meta bind not working in xterm

This is my AutoKey script: keyboard.send_keys("") It works perfectly in the default Ubuntu terminal and everywhere else. But when I try to use it in xterm nothing happens.
John DeBord
  • 638
  • 1
  • 5
  • 17
1
vote
2 answers

The function clipboard.get_selection() fails to get all the selected string

I set a shortcut in order to select a piece of text and open an URL with the selection at the end. So this is the script for AutoKey under linux: text = clipboard.get_selection() system.exec_command("kde-open http://www.MY_URL.com/%s" % text) the…
Santiago
  • 361
  • 4
  • 21
1
vote
0 answers

Autocomplete with parameters in Autokey

I'm using autokey to improve my productivity, I create a sample script with abbreviation that trigger when the tab key is pressed, and the next code is executed by autokey: output = "My phrase" keyboard.send_keys(output) And it work with simple…
bafdurango
  • 40
  • 4
1
vote
0 answers

How to share AutoKey and TextExpander snippet files : json vs. xml

I'm using AutoKey on Ubuntu (12.04) and it works fine. Now I want to use a shared DropBox file, containing all snippets, however this is a TextExpander file because my colleges use MACs and have another app like AutoKey, called TextExpander. Their…
Roelof Berkepeis
  • 165
  • 1
  • 12
1
vote
1 answer

running an autokey script with input parameters

Is it possible to run an AutoKey script with input parameters? (e.g autokey-run -s scriptname param1 param2 ...) I've tried using sys.argv, but for some reason, when running the script through AutoKey (as opposed to through python), argv[0] just…
whereswalden
  • 4,819
  • 3
  • 27
  • 41
1
vote
2 answers

AutoKey - clipboard.get_selection() function fails on certain strings

I've simplified my script so you can focus on the essence my problem. In AutoKey (not AutoHotKey), I made a Hot-Key (shift-alt-T) that performs this script on any string I have highlighted (like in gedit for example -- but any other gui editor…
Lonnie Best
  • 9,936
  • 10
  • 57
  • 97
0
votes
0 answers

"<>" key not working on Lite Linux (Ubuntu). Laptop HP Pavilion 11-u001ns

Been trying to figure out how to make this key work, but it just acts as a control key. I'm currently using a 105-key Spanish (Windows) layout, where the "<>" key is between Alt gr and the left arrow. xbindkeys key code: m:0x14 + c:105 This is the…
0
votes
0 answers

autokey - strange issues does not work on browser and thunderbird

I have autokey-gtk installed on my Linux Mint Xfce 21 laptop that has been working fine for couple of years. Since a few days I am facing very strange issues that I am sure are unrelated to Autokey. The phrases get expanded but the browser behaves…
Nitin
  • 71
  • 3
0
votes
0 answers

Using Linux autokey with chrome (to bypass a Chrome error)

I have an an issue with Chrome that I can't alter because it's caused by my corporate firewall. When I go to (nearly any) https site, I get a NET::ERR_CERT_AUTHORITY_INVALID error. The workaround I have to this is; when I get the error message I can…
RightmireM
  • 2,381
  • 2
  • 24
  • 42
0
votes
1 answer

Mapping Media Keys to Seek Forward and Back in Spotify

I'm running Ubuntu, and I like to use the media keys on my keyboard to control Spotify. For basic functions such as Play, Pause, Skip to Next, and Skip to Previous, this is easy, since I can use dbus [1]. However, I'd also like to be able to seek…
123MilitaryNerd
  • 103
  • 2
  • 7
0
votes
0 answers

Visual Studio Code in Ubuntu hotKey for copy Path of Active File

In Visual Studio Code (OS kUbuntu) is a hotKeys for copy Path of Active File configured but not works (Ctrl+Shift+C). i also tried changed the hotkey to: Ctrl+ü Ctrl+, AltGr+, Ctrl+` every hotkey was possible to config in code but code ignores…
SL5net
  • 2,282
  • 4
  • 28
  • 44
0
votes
1 answer

How to run autokey python script as root

I have a python script that requires using keyboard however it always fail to run with: ImportError: You must be root use this library on linux. I do want to run it as root, but how do I go about doing this in autokey (as I need the hotkey…
SalsaJJ
  • 336
  • 4
  • 13
0
votes
1 answer

How to toggle Autokey phrases?

I want to remap wasd to arrow keys, but then be able to use a hotkey to toggle these (four) phrases so I can go back to wasd behaviour easily. Just putting a window filter on the phrase will not be sufficient. The only ways I can see to do this is…