4

I am trying to use keyboard shortcuts more and more and have run across something I've not been able to figure out. If there is a text box on the page that I want to enter text into, how can I navigate to that field quickly without actually clicking on it with the mouse?

  • I know I can just start tabbing and eventually get to it
  • I've tried using Ctrl-F to find text near it and then tab to it

Any ideas?

3

Natively there's no keyboard shortcut to do this, so I fear there's no real solution for this.

What you could try is write a Sikuli script to look for text boxes and then make it mouse click in it.

However, this would only work if the textboxes are similar to the one you use in your script.

|improve this answer|||||
  • 1
    Sadly I couldn't find any relevant AutoHotKey script that does this – Ivo Flipse Dec 7 '10 at 15:31
  • Marking this as answered, but if anyone else has any ideas, I'd greatly appreciate it! – Micky McQuade Dec 8 '10 at 18:22
  • No need to rush it @Micky ;-) I always hope someone proves me wrong, though sometimes we have to accept it when something can't be done... – Ivo Flipse Dec 8 '10 at 18:26
9

Install the Vimium extension for Google Chrome.

Vimium logo

Usage

  1. Type f and all controls and links get a letter combination; here an example for the www.google.com page:

    Google.com website with Vimium shortcuts

  2. Now type n to put the cursor focus in the text field; n because that's what Vimium assigned to this particular textfield.

  3. That's it.

|improve this answer|||||
  • Flipping one of the best extensions ever. WOW! Thanks! – Vippy Dec 16 '16 at 21:12
  • @Vippy: You're welcome! :-) – Lernkurve Dec 18 '16 at 19:27
4

With the Vimium extension, you can use the command gi to focus the first (or n-th) text input box on the page.

|improve this answer|||||
0

In any application Tab will move to the next focusable element and Shift+Tab will move to the previous element. This is universal and works in any app on linux, windows or mac.

|improve this answer|||||
0

It is natively supported in Chrome, no extensions required.

To move the focus to a form element by specifying nearby text, with just keystrokes:

  1. Hit Ctrl + F to open the "Find" box.
  2. Type what you want to find.
  3. Hit Enter or Shift+Enter to move through the search results to the one you want.
  4. Hit Esc to close the Find box.
  5. Hit Tab to move the focus to the next form element, after the text you found.
  6. Hit Shift+Tab to move to the previous form element, before the text you found.
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.