Is there a way, using AHK or otherwise, to select "only words" and not individual letters, like in Adobe Acrobat Reader?

It should be such that even if the mouse pointer begins to select text at the middle of a word, it must autofill the unselected text on the left. Similarly if the pointer ends with an incomplete selection of the word, it must fill the leftover on the right.

Thank you.

  • In many programs a double click selects the current word under the mouse pointer. A triple click the entire paragraph. If you want to use the caret position I would send a ctrl+left to jump to the start of the word, then a ctrl+shift+right to select to next word. – lintalist May 16 at 7:08

Press F1 to select the word under the mouse pointer, even if the window under the pointer isn't active:

#If (A_Cursor = "IBeam") ; the mouse pointer is over selectable text 

    $F1:: click 2  ; double click

| 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.