SDL Studio: Add tags with a single keystroke

Offline spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 805839
    • Gender:Male
  • point d’amour
    • spiros.doikas
    • greektranslator
    • doikas
    • lavagraph
    • Greek translator CV
SDL Studio: Add tags with a single keystroke

You need to have for this script to work.

The script assumes that the default Ctrl+Enter shortcut is used to confirm segments. If a different shortcut is used, it needs to be replaced accordingly on the last line of the script.

Code: [Select]
;Add tags with LWin key


if (n = 1)
Send, ^!{Right}{Esc}{Right}
Send, {Ctrl Down}{Alt Down}{Right %n%}
Sleep 200
Send, {Ctrl Up}{Alt Up}{Esc}{Right}
n++ ; increment n

~^Enter::n := 1 ;script is reset with Confirm and Move to Next Segment shortcut, tilde is needed to pass through the original action for Ctrl+Enter

See also:
« Last Edit: 26 Feb, 2020, 16:54:04 by spiros »


Search Tools