Ignore mapping when in text input box
- by Art
I have AutoHotkey set up in a way that is recognises Cmd-Left and Cmd-Right keystrokes as back/forward navigation in Chrome.
Problem is that it also recognises those keys being pressed while I am entering text in textboxes. However when entering text, I'd would like those key combinations to carry out different function - jump to beginning/end of the line, similar to Ctrl-Left/Right.
Is there a way to have one mapping working for text boxes and another mapping for everything else in AutoHotkey?