Available Studio 2019 Trados Keyboard Shortcuts and AutoHotKey

Hi all,

Studio has so many keyboard shortcuts that one can hardly remember them. Going through the mammoth list of keyboard shortcuts is another task! Most probably if you have an AutoHotKey (say Ctrl-C), it will not work as Studio uses it for Copy. Questions:

How to find out available shortcut keys (those not used by Studio)? For example, Ctrl-J is available! (I had to try out some 15 key combos to get this one!)

Are there some tips for programming the AutoHotKey. Apparently, you can use CapsLock+a, b, c....etc.

Are there any other such available shortcut keys that can be used as an AutoHotKey? (Obviously the F1..F12 keys are out.)

Many thanks in advance.

Guru

Parents
  • Hi Guru,

    A few tips:

    1. You can sort the Studio shortcut list by shortcut, and that should make it easier to figure out if a particular key combination is already in use.

    2. Even if there's already a Studio shortcut that uses a certain key combination, it's very likely that creating an AutoHotkey script with the same combination will override the Studio shortcut, so if your AHK script is working but something in Studio stops working, there's likely to be a shortcut conflict. Many of my AHK scripts use Alt as a modifier key, since I don't really use Alt to access the ribbon shortcuts, so I use Alt+L to launch searches in Linguee, for example, instead of activating the Tell Me feature in Studio 2019. Assigning your own shortcuts to the F keys will remap them as well, so, for example, I use F2 to filter segments based on selected text instead of its assigned function in Studio (script below; to use it, select some text in the source segment and press F2).

    ;Filter on selected text
    F2::
    Send ^c
    Sleep 200
    Send ^{F6}
    Sleep 200
    Send ^v
    Sleep 200
    Send {Enter}
    Sleep 100
    Send {Control Down}{Home}{Control Up}{Down}
    Return

    3. In addition to using a modifier key (Windows Key, Ctrl, Alt or Shift) plus a letter, you can also use letter combinations to launch your scripts. For example, I use "ttt" to launch a script that takes me to the active project's memories (below, so you can test it if you'd like). This opens a world of possibilities, because you're not limited to only using hotkeys that consist of modifiers plus other keys.

    ::ttt:: ;go to Project Memories
    Send {Esc}
    Send !p
    Sleep 100
    Send Pro
    Send 100
    Send Lan
    Sleep 100
    Send {Down 2}
    Sleep 100
    Send {Tab 2}
    Return

    Hope that helps a bit. I'm sure some of our other colleagues who are much more knowledgeable about AHK can share some valuable tips as well!
  • Hi Nora,

    How does your second script work?

    Typing "ttt" in Studio brings you to Project Settings and a list of memories used in the project?
    I am absolutely hopeless when it comes to AHK but does "Send Lan" sends you to a network?
    Does that script work on translation memories based on a server?

    A lot of questions, I know :)
    The reason I am asking is it does not seem to work for me.

    Regards,
    Ollie
  • Hi Ollie,

    It's quite simple, actually, and I think you may be able to tweak it easily to make it work for you (I suspect we use different shortcuts to get to Project Settings). I've commented the script out below so you see what each line does.

    ::ttt:: ;go to Project Memories

    Send {Esc} ;this is just pressing the Esc key once to avoid triggering anything else

    Send !p  ;my shortcut to go to Project Settings, change if you use a different shortcut

    Sleep 100 ;short wait

    Send Pro ;type (send) the letters "Pro" so the top of the options tree (Project) will be selected

    Send 100 ;short wait

    Send Lan ;type (send) the letters "Lan", which are the beginning of "Language Pairs", so that "Language Pairs" will be selected

    Sleep 100 ;short wait

    Send {Down 2} ;press the down arrow twice

    Sleep 100 ;short wait

    Send {Tab 2} ;press the tab key twice

    Return

    And this is what the script does:

    You can try following the steps above manually to see which one isn't working for you, then adjust that in the script and then try to run the script again. I do that all the time when writing new scripts that involve following a series of steps.

Reply
  • Hi Ollie,

    It's quite simple, actually, and I think you may be able to tweak it easily to make it work for you (I suspect we use different shortcuts to get to Project Settings). I've commented the script out below so you see what each line does.

    ::ttt:: ;go to Project Memories

    Send {Esc} ;this is just pressing the Esc key once to avoid triggering anything else

    Send !p  ;my shortcut to go to Project Settings, change if you use a different shortcut

    Sleep 100 ;short wait

    Send Pro ;type (send) the letters "Pro" so the top of the options tree (Project) will be selected

    Send 100 ;short wait

    Send Lan ;type (send) the letters "Lan", which are the beginning of "Language Pairs", so that "Language Pairs" will be selected

    Sleep 100 ;short wait

    Send {Down 2} ;press the down arrow twice

    Sleep 100 ;short wait

    Send {Tab 2} ;press the tab key twice

    Return

    And this is what the script does:

    You can try following the steps above manually to see which one isn't working for you, then adjust that in the script and then try to run the script again. I do that all the time when writing new scripts that involve following a series of steps.

Children
  • Thank you Nora for taking the time to explain.

    For some reason, clicking on Project Settings brings me straight to my list of Translation Memories. Originally, I had set up Ctrl + Alt + P to open this menu , so I tweaked and shortened the script to this:

    ::ttt:: ;go to Project Memories
    Send {Esc}
    Send ^!p
    return

    since I do not need the additional "pro", "Lan", tab, etc.
    so it should have been working but it is not.

    Originally, considering the number of times I access and tweak the list of Project memories during a project, I had assigned a catchphrase with Dragon Naturally Speaking to do just that, it would have been nice to be able to access that same menu by typing a string of letters when DNS is not used, but that is fine for now.

    At least, I have learned something.

    And Nora, I can't thank you enough, particularly on that beautiful script of yours - F2 to search and filter a specific term in source text, that must be one of the scripts I use the most.
    (Here it is below)

    ;Filter on selected text
    F2::
    Send ^c
    Sleep 200
    Send ^{F6}
    Sleep 200
    Send ^v
    Sleep 200
    Send {Enter}
    Sleep 100
    Send {Control Down}{Home}{Control Up}{Down}
    Return