I would like to use autome to check for hotkeys, but compiling my program throws an error:
import autome
let hotkey_check = registerHotkey(0x43, {modAlt}) # Alt-c
waitForHotkey(hotkey_check)
echo "Hotkey Alt-c invoked"
mouse.nim(5, 22) Error undeclared identifier: 'expr'
I've done a grep for all the .nim files in autome, but 'expr' is declared nowhere. What type should that be ?
Yeah, saw it's rather old. I've got it to work by editing it to exclude the mouse functions. Need to compile with --nilseqs:on since it uses string = nil
I'll look into wAuto, that package is more up to date.