| View previous topic :: View next topic |
| Author |
Message |
Diamen
Joined: 15 Aug 2008 Posts: 19
|
Posted: Fri Aug 15, 2008 11:26 am Post subject: Keyboard commands to select a word |
|
|
| Do you can ad a Keyboard commands to select a word with ctrl-space? |
|
| Back to top |
|
 |
Surveyor
Joined: 08 Feb 2008 Posts: 145 Location: British Columbia, Canada
|
Posted: Sun Aug 31, 2008 12:21 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Diamen
Joined: 15 Aug 2008 Posts: 19
|
Posted: Thu Dec 11, 2008 7:53 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4640
|
Posted: Thu Dec 11, 2008 12:50 pm Post subject: |
|
|
Scripts plugin + SelNextWord.js
and add command to a Hotkeys plugin:
Name: SelNextWord
Command: Call("Scripts::Main", 1, "SelNextWord.js", "", 0)
Hotkey: Ctrl+Space |
|
| Back to top |
|
 |
Diamen
Joined: 15 Aug 2008 Posts: 19
|
Posted: Sat Dec 13, 2008 10:26 pm Post subject: |
|
|
| Instructor wrote: | [url=http://akelpad.sourceforge.net/forum/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: | WshShell.SendKeys("^{RIGHT}^+{LEFT}");
|
|
|
| Back to top |
|
 |
|