[poedit-users] Go to next line with keyboard shortcut
"Samuel Murray (Groenkloof)" <[email protected]> Tue, 06 May 2008 11:23:17 +0200
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <[email protected]> |
G'day everyone
Please tell me there is a way in PoEdit to go to the next line using a
keyboard shortcut, not the mouse? I can't find it.
Anyway, I need that functionality, so I wrote a short script in AutoIt
for it:
==
; Very quick script by Samuel Murray to go "Next" in
; PoEdit using a keyboard shortcut. It clicks in a
; certain place on the screen when you press the hotkey.
MsgBox (0, "Put your mouse...", "Put your mouse where the last line in
PoEdit is, and hit ENTER", 0)
$mousey = MouseGetPos ()
; You can change the hotkey yourself. Alt !, Ctrl ^,
; Shift +, and any lowercase letter. Eg Shift-Ctrl-X
; would be +^x.
HotKeySet ("!n", "OneTwoThree")
While 1
Sleep(100)
WEnd
Func OneTwoThree()
MouseClick ("left", $mousey[0], $mousey[1], 1, 0)
EndFunc
==
Install AutoIt, and save the above as next.au3 (watch out for line wraps
due to e-mail format). Double-click the script to run it, right-click
the icon in the systray to exit.
Samuel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone