AutoHotKey not working

Hi, I use Studio 2019 and have just installed the AutoHotKey Manager plugin (and also the Microsoft program mentioned here: community.sdl.com/.../3171.ahk-plugin), but I cannot get it to work. I have added 2 scripts which I found on other Studio support pages:

#IfWinActive ahk_exe SDLTradosStudio.exe
;------------------------------------------------------------------------------
;Go to next segment
;------------------------------------------------------------------------------
^{Down}::
Send ^{PgDn}
Send {Down}
Send ^{PgUp}
return

and

#IfWinActive ahk_exe SDLTradosStudio.exe
;------------------------------------------------------------------------------
;Go to previous segment
;------------------------------------------------------------------------------
^{Up}::
Send ^{PgUp}
Send {Up}
Send ^{PgDn}
return

Their effect should be to enable Ctrl+Up/Down to move one segment up or down in a text (regardless of whether or not the segment is confirmed or not - for some reason, the default Ctrl+Up/Down keyboard shortcuts in Studio jumps to next/previous unconfirmed segment even though this does not seem to be the intended behaviour), but they do not work. I even disabled the default Ctrl+Up/Down shortcuts in Studio's settings in order to avoid conflicts, but this did not change anything. Can anyone help with this, please? Of course, if anyone can tell me how to get the "normal" Studio shortcuts for "Move to Next/Previous Segment" to do exactly this rather than moving to next/previous unconfirmed segment, that would be great, although I would also like to get AutoHotKey Manager to work!

Thanks a lot in advance.

Best regards,
Dennis

Parents Reply
  • Hi Paul,
    Not a silly question at all, since I had in fact not installed AutoHotKey itself, only the plugin and the Windows package (www.microsoft.com/.../confirmation.aspx which there is a link to in this page:
    community.sdl.com/.../3171.ahk-plugin
    So now I have 3 things installed: AutoHotKey, the Studio plugin and the Microsoft package. I deleted all scripts, re-added Nora Diaz' original script as well as your script, closed and re-opened Studio - and the scripts still do not work.
    I then tried opening the AutoHotKey program itself, which opens AutoHotKey help on a page telling me that: "You ran AutoHotkey without telling it which script file to run, and it couldn't find a script in either of the usual places." I don't know if this is indicative of a problem, or if it is normal since the scripts I added are solely linked to Studio. I checked that the scripts file is in the expected place (the path indicated when I click on the "AutoHotKey scripts" button in the Projects view of Studio), which it is.
    Can you think of anything else I can try? Thanks!
Children
No Data