Keyboard commands to select a word
- Author
- Message
-
Offline
- Posts: 142
- Joined: Fri Aug 15, 2008 8:58 am
Keyboard commands to select a word
Do you can ad a Keyboard commands to select a word with ctrl-space?
-
Offline
- Posts: 147
- Joined: Fri Feb 08, 2008 6:41 pm
- Location: British Columbia, Canada
-
Offline
- Posts: 142
- Joined: Fri Aug 15, 2008 8:58 am
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
Scripts plugin + SelNextWord.js
and add command to a Hotkeys plugin:
Name: SelNextWord
Command: Call("Scripts::Main", 1, "SelNextWord.js", "", 0)
Hotkey: Ctrl+Space
and add command to a Hotkeys plugin:
Name: SelNextWord
Command: Call("Scripts::Main", 1, "SelNextWord.js", "", 0)
Hotkey: Ctrl+Space
-
Offline
- Posts: 142
- Joined: Fri Aug 15, 2008 8:58 am
Ty, it is nice.Instructor wrote:[url=viewtopic.php?t=240]
Hotkey: Ctrl+Space
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}");