Ignore mapping when in text input box
        Posted  
        
            by 
                Art
            
        on Super User
        
        See other posts from Super User
        
            or by Art
        
        
        
        Published on 2012-06-27T02:09:00Z
        Indexed on 
            2012/06/27
            3:18 UTC
        
        
        Read the original article
        Hit count: 544
        
google-chrome
|autohotkey
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?
© Super User or respective owner