How can I use "@" in an abbreviation to trigger a script?

61 views
Skip to first unread message

ReaderGuy

unread,
Nov 3, 2023, 7:49:26 AM11/3/23
to autokey-users
I'd like to use @ in an abbreviation but it won't work as is.

I've tried using xev to find out that it's keycode 24, but using the <code24> in an abbreviation doesn't seem to work.

Any advice?

Thanks!

jack

unread,
Nov 3, 2023, 3:19:50 PM11/3/23
to autokey-users
I suggest you try a backslash before the @, like this:

\@

Jack

jos...@main.nc.us

unread,
Nov 3, 2023, 9:07:55 PM11/3/23
to autoke...@googlegroups.com
I suspect that this is related to the fact that "@" is not a "word
character".

Try changing Trigger on from All non-word to Space and Enter or Tab and
see if that helps. I just tried this and it worked, but seemed a bit
touchy about the exact abbreviation that I chose.

I don't believe you can use any macros such as key codes in abbreviations.
They are treated as literals and are not expanded in any way.

If you need to get fancier, there's a metadata field

"wordChars": "[\\w]"

in the sidecar JSON file that you can manually modify or you can type
directly in the Trigger on field in the GUI, but when I experimented with
either of those options I found it very confusing, so you may have to play
with it to get the desired result. It specifies what's *not* a
delimiter/trigger character. I think it's a regex.

Joe

> I'd like to use @ in an abbreviation but it won't work as is.
> I've tried using xev to find out that it's keycode 24, but using the
<code24> in an abbreviation doesn't seem to work.
> Any advice?
> Thanks!
> --
> You received this message because you are subscribed to the Google
Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/e50b96ad-95c6-494f-a9df-6ee87cefbfb8n%40googlegroups.com.



ReaderGuy

unread,
Nov 6, 2023, 5:57:17 AM11/6/23
to autokey-users
Unfortunately I haven't gotten either suggestions to work. The backslash escape character doesn't do anything for me. And am I supposed to change the "wordChars" field to "wordChars": "[\\w]"  or something else? I don't understand that part, sorry!

jos...@main.nc.us

unread,
Nov 6, 2023, 5:23:41 PM11/6/23
to autoke...@googlegroups.com
Did you try this? Worked for me. You shouldn't need the fancy stuff with
wordChars.

>Try changing Trigger on from All non-word to Space and Enter or Tab and
see if that helps. I just tried this and it worked, but seemed a bit
touchy about the exact abbreviation that I chose.

Joe
> https://groups.google.com/d/msgid/autokey-users/cd07ff64-8926-465b-986b-f6763121f6fdn%40googlegroups.com.



ReaderGuy

unread,
Nov 7, 2023, 4:06:10 AM11/7/23
to autokey-users
Yes, I've tried that. I tried that as a script and to make sure as a "phrase". Neither worked. My trigger is "l@", and neither Space and Enter nor Tab work.

jos...@main.nc.us

unread,
Nov 7, 2023, 3:14:09 PM11/7/23
to autoke...@googlegroups.com
Just tried it with your abbreviation and tab.

Doesn't work great, but it sort of did. I have to type the abbreviation by
hand then press tab. It did leave the l behind instead of erasing it like
it should. I tried this in kate which usually runs fast and doesn't have
such problems. Seems a bit touchy - worked most of the time.

So, it's time for you to run an AutoKey trace so we can see something
about why it's not working for you. This tells you how to do that:

https://github.com/autokey/autokey/wiki/Troubleshooting

Joe
> https://groups.google.com/d/msgid/autokey-users/422860b1-6309-40a6-b96f-eef407973edcn%40googlegroups.com.
>

jos...@main.nc.us

unread,
Nov 7, 2023, 3:24:58 PM11/7/23
to autoke...@googlegroups.com
I'm wondering if it gets the length of the abbreviation wrong by not
counting the @ symbol. Maybe the trace will tell us.

Joe
> https://groups.google.com/d/msgid/autokey-users/c81943ccc2d148171bdfc33ea494c50e.squirrel%40www.main.nc.us.
>

ReaderGuy

unread,
Nov 8, 2023, 9:10:44 AM11/8/23
to autokey-users
I'll paste the trace below, but I think I've found the or a problem, but I have no idea how I would solve it. One trigger that works
is ":pt" so I was using that as a control, and my trigger "l@" was still NOT working. However, the abbreviation ":pt" is recognized as such, and "l@" is NOT:
> 2023-11-08 15:04:08,539 INFO - autokey.service - Matched Script "email" having abbreviations "[':pt']" against current input

No such line exists for "l@"


  •  autokey-gtk --verbose
    2023-11-08 15:04:05,134 INFO - autokey.UI_common_functions - Commandline program "visgrep" was not found/able to be used correctly by AutoKey. This program is optional for Autokey operation, but if you wish to use functionality associated with it, Check that "visgrep" exists on your system and is in the $PATH seen by Autokey.
    2023-11-08 15:04:05,134 INFO - autokey.UI_common_functions - Commandline program "png2pat" was not found/able to be used correctly by AutoKey. This program is optional for Autokey operation, but if you wish to use functionality associated with it, Check that "png2pat" exists on your system and is in the $PATH seen by Autokey.
    2023-11-08 15:04:05,134 INFO - autokey.UI_common_functions - Commandline program "xte" was not found/able to be used correctly by AutoKey. This program is optional for Autokey operation, but if you wish to use functionality associated with it, Check that "xte" exists on your system and is in the $PATH seen by Autokey.
    2023-11-08 15:04:05,135 INFO - autokey.UI_common_functions - Commandline program "xmousepos" was not found/able to be used correctly by AutoKey. This program is optional for Autokey operation, but if you wish to use functionality associated with it, Check that "xmousepos" exists on your system and is in the $PATH seen by Autokey.
    2023-11-08 15:04:05,141 INFO - autokey.gtkapp - Initialising application
    2023-11-08 15:04:05,144 INFO - autokey.gtkapp - Initialise global hotkeys
    2023-11-08 15:04:05,144 INFO - autokey.configmanager.configmanager - Loading config from existing file: /home/ReaderGuy/.config/autokey/autokey.json
    2023-11-08 15:04:05,144 INFO - autokey.configmanager.version_upgrading - Checking if upgrade is needed from version 0.96.0
    2023-11-08 15:04:05,145 DEBUG - autokey.configmanager.configmanager - Loading folder at '/home/ReaderGuy/.config/autokey/data/My Phrases'
    2023-11-08 15:04:05,146 DEBUG - autokey.configmanager.configmanager - Loading folder at '/home/ReaderGuy/.config/autokey/data/Sample Scripts'
    2023-11-08 15:04:05,146 INFO - autokey.configmanager.configmanager - Configuration changed - rebuilding in-memory structures
    2023-11-08 15:04:05,146 DEBUG - autokey.monitor - Adding watch for /home/ReaderGuy/.config/autokey/data/My Phrases
    2023-11-08 15:04:05,146 DEBUG - autokey.monitor - Adding watch for /home/ReaderGuy/.config/autokey/data/My Phrases/Addresses
    2023-11-08 15:04:05,146 DEBUG - autokey.monitor - Adding watch for /home/ReaderGuy/.config/autokey/data/Sample Scripts
    2023-11-08 15:04:05,146 INFO - autokey.configmanager.configmanager - Successfully loaded configuration
    2023-11-08 15:04:05,146 DEBUG - autokey.monitor - Adding watch for /home/ReaderGuy/.config/autokey/data
    2023-11-08 15:04:05,146 DEBUG - autokey.monitor - Adding watch for /home/ReaderGuy/.config/autokey
    2023-11-08 15:04:05,146 DEBUG - autokey.configmanager.configmanager - Global settings: {'isFirstRun': True, 'serviceRunning': True, 'menuTakesFocus': False, 'showTrayIcon': True, 'sortByUsageCount': True, 'promptToSave': False, 'enableQT4Workaround': False, 'interfaceType': 'XRecord', 'undoUsingBackspace': True, 'windowDefaultSize': [1440, 756], 'hPanePosition': 361, 'columnWidths': [150, 50, 100], 'showToolbar': True, 'notificationIcon': 'autokey-status', 'workAroundApps': '.*VirtualBox.*|krdc.Krdc', 'triggerItemByInitial': False, 'disabledModifiers': [], 'scriptGlobals': {}, 'gtkTheme': 'classic', 'gtkExpandedRows': ['1', '0'], 'pathLastOpen': '0:3'}
    2023-11-08 15:04:05,146 INFO - autokey.service - Starting service
    2023-11-08 15:04:05,157 DEBUG - autokey.interface - Enabling sending using Alt-Grid
    2023-11-08 15:04:05,157 DEBUG - autokey.interface - Modifier masks: {<Key.SHIFT: '<shift>'>: 1, <Key.CAPSLOCK: '<capslock>'>: 2, <Key.CONTROL: '<ctrl>'>: 4, <Key.ALT: '<alt>'>: 8, <Key.ALT_GR: '<alt_gr>'>: 128, <Key.SUPER: '<super>'>: 64, <Key.HYPER: '<hyper>'>: 64, <Key.META: '<meta>'>: 8, <Key.NUMLOCK: '<numlock>'>: 16}
    2023-11-08 15:04:05,173 DEBUG - autokey.iomediator.iomediator - Set modifier Key.CAPSLOCK to False
    2023-11-08 15:04:05,173 DEBUG - autokey.iomediator.iomediator - Set modifier Key.NUMLOCK to True
    2023-11-08 15:04:05,174 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,174 DEBUG - autokey.interface - __flushEvents: Entering event loop.
    2023-11-08 15:04:05,174 INFO - autokey.iomediator.iomediator - Created IoMediator instance, current interface is: <XRecordInterface(XInterface-thread, initial daemon)>
    2023-11-08 15:04:05,174 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,175 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,175 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,177 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,178 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,178 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,179 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,179 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,179 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,179 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,179 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,180 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,180 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,180 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,180 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,180 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,181 INFO - autokey.interface - XRecord interface thread starting
    2023-11-08 15:04:05,181 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,181 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,181 INFO - autokey.service - Service now marked as running
    2023-11-08 15:04:05,181 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,183 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,183 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,183 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,183 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,183 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,184 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,185 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,186 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,187 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,187 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,187 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,187 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,187 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,187 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,187 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,187 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,188 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,189 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,190 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,191 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,191 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,191 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,191 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,191 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,192 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,192 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,192 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,192 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,192 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,193 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,194 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,195 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,195 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,195 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,195 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,195 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,195 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,195 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,195 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,196 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,197 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,197 DEBUG - autokey.interface - Grabbing hotkey: ['<super>'] 'k'
    2023-11-08 15:04:05,197 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,197 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,197 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,197 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,197 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,197 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,198 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,199 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,200 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,201 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,202 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,202 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,202 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,202 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,202 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,203 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,203 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,204 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,204 DEBUG - autokey.gtkui.popupmenu - Sorting phrase menu by usage count
    2023-11-08 15:04:05,204 DEBUG - autokey.gtkui.popupmenu - Triggering menu item by position in list
    2023-11-08 15:04:05,204 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,204 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,204 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,205 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,205 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,205 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,205 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,205 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,205 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,205 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,205 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,206 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,206 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,206 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,206 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,206 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,206 DEBUG - autokey.dbus_service - Created DBus service
    2023-11-08 15:04:05,206 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,206 INFO - autokey.gtkapp - Entering main()
    2023-11-08 15:04:05,207 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,207 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,207 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,207 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,207 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,208 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,208 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,208 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,208 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,208 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,208 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,208 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,208 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,209 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,209 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,209 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,209 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,209 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,209 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,209 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,209 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,210 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,210 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,210 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,210 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,210 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,210 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,210 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,211 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,211 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,211 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,211 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,211 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,211 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,212 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,213 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,214 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
    2023-11-08 15:04:05,215 DEBUG - autokey.interface - Grabbing hotkey: ['<ctrl>'] '<f7>'
    2023-11-08 15:04:07,530 DEBUG - autokey.iomediator.iomediator - Key.SHIFT pressed
    2023-11-08 15:04:07,633 DEBUG - autokey.service - Raw key: '.', modifiers: [<Key.SHIFT: '<shift>'>], Key: :
    2023-11-08 15:04:07,633 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:07,633 DEBUG - autokey.service - Input queue at end of handle_keypress: deque([':'], maxlen=150)
    2023-11-08 15:04:07,825 DEBUG - autokey.iomediator.iomediator - Key.SHIFT released
    2023-11-08 15:04:07,963 DEBUG - autokey.service - Raw key: 'p', modifiers: [], Key: p
    2023-11-08 15:04:07,963 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:07,963 DEBUG - autokey.service - Input queue at end of handle_keypress: deque([':', 'p'], maxlen=150)
    2023-11-08 15:04:08,158 DEBUG - autokey.service - Raw key: 't', modifiers: [], Key: t
    2023-11-08 15:04:08,159 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:08,159 DEBUG - autokey.service - Input queue at end of handle_keypress: deque([':', 'p', 't'], maxlen=150)
    2023-11-08 15:04:08,538 DEBUG - autokey.service - Raw key: ' ', modifiers: [], Key:  
    2023-11-08 15:04:08,539 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:08,539 INFO - autokey.service - Matched Script "email" having abbreviations "[':pt']" against current input
    2023-11-08 15:04:08,539 DEBUG - autokey.service - Script runner executing: Script('email')
    2023-11-08 15:04:08,539 DEBUG - autokey.service - Input queue at end of handle_keypress: deque([], maxlen=150)
    2023-11-08 15:04:08,540 DEBUG - autokey.service - Triggered a Script by an abbreviation. Setting it for engine.get_triggered_abbreviation(). abbreviation=':pt', trigger=' '
    2023-11-08 15:04:08,540 DEBUG - autokey.interface - Send special key: [<Key.BACKSPACE: '<backspace>'>]
    2023-11-08 15:04:08,540 DEBUG - autokey.iomediator.iomediator - Send via event interface
    2023-11-08 15:04:08,540 DEBUG - autokey.iomediator.iomediator - Send via event interface
    2023-11-08 15:04:08,541 DEBUG - autokey.interface - Send special key: [<Key.BACKSPACE: '<backspace>'>]
    2023-11-08 15:04:08,542 DEBUG - autokey.interface - Send special key: [<Key.BACKSPACE: '<backspace>'>]
    2023-11-08 15:04:08,542 DEBUG - autokey.interface - Send special key: [<Key.BACKSPACE: '<backspace>'>]
    2023-11-08 15:04:08,542 DEBUG - autokey.interface - Sending string: 'm...@email.com'
    2023-11-08 15:04:08,544 DEBUG - autokey.interface - Sending string: ' '
    2023-11-08 15:04:12,250 DEBUG - autokey.service - Raw key: <Key.ENTER: '<enter>'>, modifiers: [], Key: Key.ENTER
    2023-11-08 15:04:12,250 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:12,250 DEBUG - autokey.service - Input queue at end of handle_keypress: deque(['\n'], maxlen=150)
    2023-11-08 15:04:14,035 DEBUG - autokey.iomediator.iomediator - Key.SHIFT pressed
    2023-11-08 15:04:16,979 DEBUG - autokey.iomediator.iomediator - Key.SHIFT released
    2023-11-08 15:04:17,157 DEBUG - autokey.service - Raw key: 'l', modifiers: [], Key: l
    2023-11-08 15:04:17,157 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:17,157 DEBUG - autokey.service - Input queue at end of handle_keypress: deque(['\n', 'l'], maxlen=150)
    2023-11-08 15:04:17,433 DEBUG - autokey.iomediator.iomediator - Key.ALT_GR pressed
    2023-11-08 15:04:17,566 DEBUG - autokey.service - Raw key: 'q', modifiers: [<Key.ALT_GR: '<alt_gr>'>], Key: @
    2023-11-08 15:04:17,566 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:17,808 DEBUG - autokey.iomediator.iomediator - Key.ALT_GR released
    2023-11-08 15:04:19,211 DEBUG - autokey.service - Raw key: ' ', modifiers: [], Key:  
    2023-11-08 15:04:19,211 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:19,211 DEBUG - autokey.service - Input queue at end of handle_keypress: deque([' '], maxlen=150)
    2023-11-08 15:04:20,171 DEBUG - autokey.service - Raw key: <Key.ENTER: '<enter>'>, modifiers: [], Key: Key.ENTER
    2023-11-08 15:04:20,171 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:20,171 DEBUG - autokey.service - Input queue at end of handle_keypress: deque([' ', '\n'], maxlen=150)
    2023-11-08 15:04:22,215 DEBUG - autokey.service - Raw key: 'l', modifiers: [], Key: l
    2023-11-08 15:04:22,215 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:22,215 DEBUG - autokey.service - Input queue at end of handle_keypress: deque([' ', '\n', 'l'], maxlen=150)
    2023-11-08 15:04:22,453 DEBUG - autokey.iomediator.iomediator - Key.ALT_GR pressed
    2023-11-08 15:04:22,464 DEBUG - autokey.service - Raw key: 'q', modifiers: [<Key.ALT_GR: '<alt_gr>'>], Key: @
    2023-11-08 15:04:22,464 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:22,566 DEBUG - autokey.iomediator.iomediator - Key.ALT_GR released
    2023-11-08 15:04:22,673 DEBUG - autokey.service - Raw key: <Key.TAB: '<tab>'>, modifiers: [], Key: Key.TAB
    2023-11-08 15:04:22,673 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:22,673 DEBUG - autokey.service - Input queue at end of handle_keypress: deque(['\t'], maxlen=150)
    2023-11-08 15:04:24,002 DEBUG - autokey.service - Raw key: <Key.ENTER: '<enter>'>, modifiers: [], Key: Key.ENTER
    2023-11-08 15:04:24,003 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
    2023-11-08 15:04:24,003 DEBUG - autokey.service - Input queue at end of handle_keypress: deque(['\t', '\n'], maxlen=150)
    2023-11-08 15:04:26,275 DEBUG - autokey.iomediator.iomediator - Key.CONTROL pressed
    ^CTraceback (most recent call last):
      File "/usr/bin/autokey-gtk", line 11, in <module>
        load_entry_point('autokey==0.96.0', 'console_scripts', 'autokey-gtk')()
      File "/usr/lib/python3/dist-packages/autokey/gtkui/__main__.py", line 9, in main
        a.main()
      File "/usr/lib/python3/dist-packages/autokey/gtkapp.py", line 230, in main
        Gtk.main()
      File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 1687, in main
        with register_sigint_fallback(Gtk.main_quit):
      File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
    2023-11-08 15:04:26,443 DEBUG - autokey.service - Raw key: 'c', modifiers: [<Key.CONTROL: '<ctrl>'>], Key: c
        next(self.gen)
    2023-11-08 15:04:26,443 DEBUG - autokey.service - Window visible title: 'ReaderGuy@ReaderGuy: ~', Window class: 'gnome-terminal-server.Gnome-terminal'
      File "/usr/lib/python3/dist-packages/gi/_ossighelper.py", line 237, in register_sigint_fallback
        signal.default_int_handler(signal.SIGINT, None)
    KeyboardInterrupt
    ^CException ignored in: <module 'threading' from '/usr/lib/python3.10/threading.py'>
    Traceback (most recent call last):
      File "/usr/lib/python3.10/threading.py", line 1567, in _shutdown
        lock.acquire()
    KeyboardInterrupt:

ReaderGuy

unread,
Nov 8, 2023, 9:13:51 AM11/8/23
to autokey-users
Oh and also, during the trace setup, the GTK window doesn't actually appear. Is that normal? I just saw the terminal output.

jos...@main.nc.us

unread,
Nov 8, 2023, 4:34:09 PM11/8/23
to autoke...@googlegroups.com
I will look at this more later, but:

It appears that you're not pressing the 1 key. You're pressing the numeric
keypad 1 and AutoKey sees it as

>2023-11-08 15:04:17,433 DEBUG - autokey.iomediator.iomediator -
> Key.ALT_GR pressed

That's a different key press sequence and should not trigger your action.

From the trace, it looks like you are running AutoKey 0.95.10 or earlier.

Our current release is 0.96.0. It has a lot of bug fixes and a few new
features. You should consider upgrading. You can find it at
github.com/autokey/autokey/releases/ with installation instructions at
https://github.com/autokey/autokey/wiki/Installing .

Joe

> I'll paste the trace below, but I think I've found the or a problem, but I
> have no idea how I would solve it. One trigger that works
> is ":pt" so I was using that as a control, and my trigger "l@" was still
> NOT working. However, the abbreviation ":pt" is recognized as such, and
> "l@" is NOT:
>> 2023-11-08 15:04:08,539 INFO - autokey.service - Matched Script "email"
> having abbreviations "[':pt']" against current input
>
> No such line exists for "l@"
>
>
> -
>> https://groups.google.com/d/msgid/autokey-users/c81943ccc2d148171bdfc33ea494c50e.squirrel%40www.main.nc.us
>> .
>> >
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/b4407bc9-a8eb-4a6a-9013-c558189c0222n%40googlegroups.com.
>

jos...@main.nc.us

unread,
Nov 8, 2023, 4:43:25 PM11/8/23
to autoke...@googlegroups.com
Normally, when you start AutoKey, it does not display the main menu. It
just goes into the background and starts working. There's a command line
option -c you can specify if you want the menu to be displayed.

Since most users use AutoKey much more frequently than they actually
modify it, the menu is off by default. You can also display it by clicking
an option in the AutoKey panel icon context menu or by running autokey
again. The second instance tells the first instance to display the menu
then it exits.

Joe

> Oh and also, during the trace setup, the GTK window doesn't actually
> appear. Is that normal? I just saw the terminal output.
>
> On Wednesday, November 8, 2023 at 3:10:44 PM UTC+1 ReaderGuy wrote:
>
>> I'll paste the trace below, but I think I've found the or a problem, but
>> I
>> have no idea how I would solve it. One trigger that works
>> is ":pt" so I was using that as a control, and my trigger "l@" was still
>> NOT working. However, the abbreviation ":pt" is recognized as such, and
>> "l@" is NOT:
>> > 2023-11-08 15:04:08,539 INFO - autokey.service - Matched Script
>> "email"
>> having abbreviations "[':pt']" against current input
>>
>> No such line exists for "l@"
>>
>>
>> -
> https://groups.google.com/d/msgid/autokey-users/09c677e4-d52c-4173-8079-2d939ae79419n%40googlegroups.com.
>

ReaderGuy

unread,
Nov 9, 2023, 4:15:35 AM11/9/23
to autokey-users
The "About" menu tells me I'm on version 0.96.0. Is there another way to double check?

And the ALT_GR key is required to make the "@" character on my keyboard. Is there another way to do this in this case?

Thanks!

jack

unread,
Nov 9, 2023, 4:29:14 AM11/9/23
to autoke...@googlegroups.com, ReaderGuy
i haven't got any other ideas to fix this problem.

it's not in the spirit of autokey, but for abbreviations i use espanso these days. i find it's simpler to define abbreviations and i like to see them all in the same file. i tried l@ as an abbreviation in that and it worked ok.

https://espanso.org/


jack
We can't go back to the status quo

ReaderGuy

unread,
Nov 9, 2023, 4:31:15 AM11/9/23
to autokey-users
Good idea, but I'm actually trying to move away from Espanso because for many of my abbreviations it's no longer outputting hyphens, which is bad for email addresses, etc. But thanks anyway!

jack

unread,
Nov 9, 2023, 4:39:07 AM11/9/23
to autoke...@googlegroups.com, ReaderGuy
aaaarrrrgghhhh!!!!

i tried espanso, with an abbreviation that expanded to 'this-and-that'. worked perfectly.

that 'no longer...' makes me think you had espanso working properly at one time... is there something strange about your system?  both autokey and espanso are having problems and it looks as though espanso used to behave properly?


jack
The Designers somersaulted with hundreds of extra functions, encouraged edges and styles!

ReaderGuy

unread,
Nov 9, 2023, 1:22:53 PM11/9/23
to autokey-users
Yes, espanso worked fine till a few weeks ago. I don't know if there's anything strange about the system. How would I check that lol

jos...@main.nc.us

unread,
Nov 9, 2023, 7:28:43 PM11/9/23
to autoke...@googlegroups.com


> The "About" menu tells me I'm on version 0.96.0. Is there another way to
> double check?
That's fine. My mistake.
>
> And the ALT_GR key is required to make the "@" character on my keyboard.
> Is
> there another way to do this in this case?

As of 0.96.0, ALT_GR is a settable modifier key. You have to set
ALT_GR+(whatever you press with it) as the hotkey, not just the @. Maybe
you can do that from the GUI. If that doesn't work, you might have to edit
the metadata JSON file directly. If that turns out to be necessary, it's
probably an AutoKey bug and an issue should be opened about it.

Joe
> https://groups.google.com/d/msgid/autokey-users/96dd42e5-1149-4d93-8df4-a0077482ca37n%40googlegroups.com.
>

ReaderGuy

unread,
Nov 10, 2023, 6:26:03 AM11/10/23
to autokey-users
How exactly would that abbreviation look then? I've found this (https://autokey.github.io/api/keyboard.html#autokey.model.key.Key.ALT_GR) but I'm not quite sure how to use that. Something like "l<Key.ALT_GR: '<alt_gr>'>@"?
Or: "l<Key.ALT_GR: '<alt_gr>'>q" since the @ is the third layer (via ALT_GR) of the q key

Thanks!

Kreezxil

unread,
Nov 10, 2023, 6:57:57 AM11/10/23
to autokey-users
I just tried to duplicate what is going on here. So until I set the values in the attached image, the @ wouldn't trigger. In fact nothing wouldn't trigger, it wasn't exclusive to the @. Apparently I don't know what the trigger character is lol.

2023-11-10_05-53.png
I wonder if you recorded a short video showing everything you've tried with Autokey if that might shed some light on how we can help you figure this out. I'm tempted to create a video myself showing what I encountered just now in this duplication effort. I am refraining from that in case I'm off the mark.

jos...@main.nc.us

unread,
Nov 11, 2023, 2:52:08 AM11/11/23
to autoke...@googlegroups.com
You and now Jack are the first Espanso users I have encountered. It would
be great to hear about your experiences (competitive research).

Joe
>> <https://groups.google.com/d/msgid/autokey-users/96dd42e5-1149-4d93-8df4-a0077482ca37n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/3d5dbffd-d1f9-4e6f-b900-5b9cfac299afn%40googlegroups.com.
>

jos...@main.nc.us

unread,
Nov 11, 2023, 2:57:43 AM11/11/23
to autoke...@googlegroups.com, ReaderGuy
The problem here isn't the abbreviation itself (it works in AutoKey too).
The problem is that the OP has to press ALT_GR to type the @ and AutoKey
sees that as different than a plain @ so the abbreviation isn't
recognized. There's a fair chance the same thing would happen in Espanso.

Joe
>> <http://github.com/autokey/autokey/releases/> with installation
>> <https://groups.google.com/d/msgid/autokey-users/96dd42e5-1149-4d93-8df4-a0077482ca37n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/79a8a253-8dad-44e9-a74c-ce4b1b5d8555%40gmail.com.
>

jos...@main.nc.us

unread,
Nov 11, 2023, 3:36:22 AM11/11/23
to autoke...@googlegroups.com
I just checked and it looks like 0.96.0 doesn't offer ALT_GR as a modifier
key when defining a hotkey in the GUI. Maybe this is still in the develop
branch.

Issue 762 is still open. 366 is closed as fixed. Looks like 478 fixed
this, but only for autokey-gtk.

So readerguy, make sure to try autokey-gtk and use it to define your
hotkey. That may resolve the problem for you. autokey-qt probably still
won't work for this though.

Joe
> https://groups.google.com/d/msgid/autokey-users/fd72f2d8-950a-4008-8e90-baf531a8abedn%40googlegroups.com.
>

jos...@main.nc.us

unread,
Nov 11, 2023, 3:41:58 AM11/11/23
to autoke...@googlegroups.com
Thanks for trying this.

Trigger immediately probably made it work for you. @ is a non-word
character which probably confused AutoKey.

Joe
> https://groups.google.com/d/msgid/autokey-users/60e52c9d-0765-4c65-bd81-c1fb2dd860ffn%40googlegroups.com.
>

Stephen Meech

unread,
Nov 11, 2023, 7:49:32 AM11/11/23
to autoke...@googlegroups.com
I'm also using Espanso now, having heavily used AutoHotKey when I was
using Windows at work, and spent some time playing with AutoKey when I
moved from XP to Linux, so I have experience of both.

For text expansion, Espanso excels because, like AutoHotKey, it can have
multiple expansions per file, rather than one each in file in AutoKey.
My current setup has several thousand, principally for spell-checking,
and I am becoming more adept at writing my own expansions.

It can accept plain and regex triggers, create forms, and inject
variables, including those generated from scripts and shell commands. It
doesn't provide access to any window control methods, so is not as
comprehensive as AutoHotKey and Autokey. Like the others, it has
program-specific filters.

Configuration is via YAML text files, primarily lists of triggers and
replacements, although a GUI is underdevelopment.

It can occasionally be a little flaky, with inconsistent generation of
replacement texts, not fully deleting the trigger, leaving redundant
spaces etc..

The documentation is at: https://espanso.org/docs/get-started/

If I needed to duplicate what I did on Windows, I'd have to use both
Autokey and Espanso. I currently use the latter but retain an interest
in the AutoKey.

Subject changed, and I realise we're wandering "off-topic"!

On 11/11/2023 07:50, jos...@main.nc.us wrote:
> You and now Jack are the first Espanso users I have encountered. It would
> be great to hear about your experiences (competitive research).
>
> Joe
>
>> Good idea, but I'm actually trying to move away from Espanso because for
>> many of my abbreviations it's no longer outputting hyphens, which is bad
>> for email addresses, etc. But thanks anyway!
>>
>> On Thursday, November 9, 2023 at 10:29:14 AM UTC+1 jack wrote:
>>
>>> i haven't got any other ideas to fix this problem.
>>>
>>> it's not in the spirit of autokey, but for abbreviations i use espanso
>>> these days. i find it's simpler to define abbreviations and i like to
>>> see
>>> them all in the same file. i tried l@ as an abbreviation in that and it
>>> worked ok.
>>>
>>> https://espanso.org/

<snip>

--
Regards,

Stephen

ReaderGuy

unread,
Nov 11, 2023, 8:12:50 AM11/11/23
to autokey-users
I'm not sure what I'm supposed to try now? I have been using the GTK version the whole time, so that hasn't been working. But there I just type "l@" in the abbreviations field and it takes it, but then nothing happens, which is the whole problem.

Thanks!

Espanso is a little more straightforward, just because there's only global replacements (and not the python scripts or the window specific phrases). But maintenance seems to have slowed, which is why I've been trying Autokey.

jos...@main.nc.us

unread,
Nov 11, 2023, 2:12:06 PM11/11/23
to autoke...@googlegroups.com
OK.

Then AutoKey is seeing your raw keypresses when scanning, but somehow gets
just the @ when you add the abbreviation. That's a bug either in AutoKey
or somewhere in the rest of the system. It needs to be filed as a bug
issue. You can do that, but it may be quite some time before it gets
looked at because we are extremely short on developer resources. Sorry it
took so long to figure out.

You can try editing the hotkey to add the ALT_GR modifier to the @, but it
probably won't work.

You probably have to eliminate any triggers with @ in them. The only other
approaches would be getting a different keyboard or using xmodmap or xkb
to modify your keyboard layout so @ is on another key. The same would
apply to any other key that needs ALT_GR to be typed normally.

Joe
>> https://groups.google.com/d/msgid/autokey-users/60e52c9d-0765-4c65-bd81-c1fb2dd860ffn%40googlegroups.com
>> .
>> >
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/b5ca964f-73f4-4949-9ffa-b1dc98c9f02dn%40googlegroups.com.
>

Kreezxil

unread,
Nov 12, 2023, 9:40:39 AM11/12/23
to autokey-users
Wow! Thanks to Linux, I was able to add the German layout so that I too could have the ALT_GR, and so I tried it with 0.96.0 autokey-gtk, and there no, it would not work. 

But switching to a US keyboard where at is just shift 2, well, that works like a charm.

I agree with Joe, it's definitely something to do with alt_gr. 

So reader-guy I feel your pain.

That said I tried Espanso and was unable to get it to use trigger on an @ built with ALT_GR for example ALT_GR + Q. But it would trigger on @ just fine in a US keyboard layout.

jos...@main.nc.us

unread,
Nov 12, 2023, 2:50:03 PM11/12/23
to autoke...@googlegroups.com
Message has been deleted

Stephen Meech

unread,
Nov 12, 2023, 3:49:02 PM11/12/23
to autokey-users
On my (English UK) keyboard, both Espanso and Autokey "@" triggers inserted using <AltGr-q> work fine and respond to my usual key combination for <Shift-'> as well, but they both appear as "@  64 0100 0x40" with showkey.

Kreezxil

unread,
Nov 13, 2023, 7:07:00 AM11/13/23
to autoke...@googlegroups.com
Maybe it has more to do with the keyboard than the layouts we can choose on Linux. I have an AOC keyboard. This one to be exact: https://www.amazon.com/gp/product/B08X8JGYN8

Which makes fixing this truly hard because that means the programmers don't have a reliable way to build a reliable set of data that they can use to resolve the issue. :(

--
You received this message because you are subscribed to a topic in the Google Groups "autokey-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/autokey-users/tR0-5xgGqp0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to autokey-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autokey-users/401743d0-b264-4d73-9647-ab95ae3c1d75n%40googlegroups.com.

jos...@main.nc.us

unread,
Nov 14, 2023, 3:30:08 PM11/14/23
to autoke...@googlegroups.com
That's what you get for using a far left keyboard! LOL

On a more serious note, AutoKey tends to ignore secondary keyboard
layouts, so that's something to watch out for - although it doesn't seem
to be the issue here.

On my personal project that deals with controlling printers, I tell people
they can either help me test or send me their printer. LOL

Joe
>> <https://groups.google.com/d/msgid/autokey-users/401743d0-b264-4d73-9647-ab95ae3c1d75n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/CAPA4o4MvkD8gLTLrz5FiiyotB2QhaCR30H1DgmJ954SjR1VuJw%40mail.gmail.com.
>

Reply all
Reply to author
Forward
0 new messages