Skip to content

Instantly share code, notes, and snippets.

@Pandahisham
Forked from jploudre/gist:8065863
Created October 7, 2015 14:44
Show Gist options
  • Save Pandahisham/e8d6be910d555a330bd6 to your computer and use it in GitHub Desktop.
Save Pandahisham/e8d6be910d555a330bd6 to your computer and use it in GitHub Desktop.
Autohotkey ternary
sub := (command1 = "#a") ? "add"
: (command1 = "#b") ? "build"
: (command1 = "#c") ? "change"
: (command1 = "#d") ? "down"
: (command1 = "#e") ? "unten"
: (command1 = "#f") ? "find"
: (command1 = "#i") ? "info"
: (command1 = "#j") ? "join"
: (command1 = "#k") ? "kill"
: (command1 = "#l") ? "locate"
: (command1 = "#m") ? "move"
: (command1 = "#o") ? "output"
: (command1 = "#p") ? "tabulator"
: (command1 = "#q") ? "tasten"
: (command1 = "#r") ? "restore"
: (command1 = "#s") ? "substitute"
: (command1 = "#t") ? "text"
: (command1 = "#u") ? "up"
: (command1 = "#w") ? "woerterbuch"
: (command1 = "#x") ? "exit"
: (command1 = "#z") ? "zeile"
: (command1 = "#1") ? "oben"
: (command1 = "#ß") ? "datein"
: (command1 = "#<") ? "fragen"
: (command1 = "#v") ? "listv"
: (command1 = "#?") ? "debuggen"
: "falsch"
gosub %sub%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment