How to have the text cursor automatically positioned in the Search field of Wikipedia's landing page?

How to have the text cursor automatically positioned in the Search field of Wikipedia's landing page?

E.g. here: Wikipedia, de vrije encyclopedie

Safari 17.5 on macOS 14.5

This seems to work:

Download Macro(s): Focus Wikipedia field.kmmacros (2.1 KB)

Macro screenshot

Macro notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.
System information
  • macOS 14.5
  • Keyboard Maestro v11.0.3

-rob.

1 Like

Note, too, that you can run your searches directly if you prefer:

https://nl.wikipedia.org/w/index.php?search=test

-rob.

(in which case the Keyboard Maestro Percent encode for URL filter will be useful for search strings which include spaces etc)


and more directly a Search the Web action:

action:Search the Web [Keyboard Maestro Wiki]

1 Like