clansfear
clansfear

Reputation: 11

AutoIt 3 Inputing keyboard keys by GUI

How can I create a GUI element like the one of type "Input" that would register current keyboard keystroke, but I'm not talking about any letter or number, but rather special buttons like CTRL, TAB or Enter?

Upvotes: 0

Views: 734

Answers (1)

Teifun2
Teifun2

Reputation: 338

As far as i know there is no special GUI element handling that. There are some "workarounds" like

  1. When something gets written check if CTRL (or anything else) is pressed

    _IsPressed()

  2. Catch if you press CTRL with Hotkey and then make a Funktion to insert it into the Input

    HotKeySet({CTRL},_insertCTRL);

Does one of these work for you?

Upvotes: 1

Related Questions