Page 1 of 1

Keyboard commands to select a word

Posted: Fri Aug 15, 2008 11:26 am
by Diamen
Do you can ad a Keyboard commands to select a word with ctrl-space?

Posted: Sun Aug 31, 2008 12:21 am
by Surveyor
This function is already "built in" to Windows - see Help file, Appendix C (Cursor movement), although it does not involve the space bar. Ctrl-shift-left_arrow or Ctrl-shift-right_arrow should select words.

- Surveyor

Posted: Thu Dec 11, 2008 7:53 am
by Diamen
Do it is possibile use the Hotkeys AkelPad plugin to set word select to ctrl-space ?
With Ctrl-shift-right_arrow I have to use both hands, right and left, instead with ctrl-space i can only use the left hand.
This operation is a task that often.

Posted: Thu Dec 11, 2008 12:50 pm
by Instructor
Scripts plugin + SelNextWord.js

and add command to a Hotkeys plugin:
Name: SelNextWord
Command: Call("Scripts::Main", 1, "SelNextWord.js", "", 0)
Hotkey: Ctrl+Space

Posted: Sat Dec 13, 2008 10:26 pm
by Diamen
Instructor wrote:[url=viewtopic.php?t=240]
Hotkey: Ctrl+Space
Ty, it is nice.
But i'm not able to assign Ctrl+Space.


And it select not all word but from position to word end.
f.e.
prev[cursor]ious
it select:
ious

To solve this replace the last line with:

Code: Select all

WshShell.SendKeys("^{RIGHT}^+{LEFT}");