For the first project I have put some free stuff together to a tiny plugin.
Now here is release 1.24 / 1.01:
hpwSendKeys124.zip 662 KB
Changes hpwSendKeys 1.24 hpwSendKeys32 1.01:(04.06.2016)
BugFix: hpwGetProcessList - Returns now 'No filepath' when API-call GetModuleFileNameEx returns an error
Plugins are now uncompressed without upx-compression.
Changes hpwSendKeys 1.23:(18.03.2012)
Action: hpwGetWindowRect - Get the rectange of a window from its handle.
Changes hpwSendKeys 1.22:(17.03.2012)
Action: hpwFocusWindow - Sets the focus to a window by its handle.
Action: hpwClickMouse - Simulates mouseclick at screen-position X/Y. Left/Middle/Right/Double supported.
Action: hpwSetMousePos - Set mousecursor to screen-position X/Y.
Action: hpwGetMousePos - Get mousecursor posx and posy from screen-position X/Y.
Changes hpwSendKeys 1.21:(03.01.2010)
Lib from hpwSendKeys32 intergrated in hpwSendKeys so both modes can used at runtime
Variable [hpwSendKeysMode32] set to "1" switches to hpwSendKeys32 lib.
Variable [hpwSendKeys32Wait] set to "1" enables the wait mode between sended keys.
(Waitmode was enabled by default before)
New alternative version hpwSendKeys32 1.0:(01.01.2010)
Compiled with an alternative Sendkey-lib to support different features.
Recompiled without Win32.Induc delphi virus
Changed the used runtime-packer for a better vista and IE8-compatibility.
Changed compiler to delphi 7
Wizards now compatibel look with neobook 5.6
Bugfixes for window handles > 32 Bit
All commands wizards show the exact command in the wizards dialog caption.
All commands wizards show the command, plugin-name and the command-hint similar to neobook's native commands.
Removed some designtime-related code from NBR which results in a slightly smaller size.
Action:hpwFindWindows arrays now also contain all window titles and process-id's (See variables in debugger)
Action:hpwFindWindows find all top-level-windows with a substring of the caption and optional class-name.
Bugfix: hpwKillProcessName's command wizards show only 2 parameters instead of 3.
Using NB 5.5.3 new privat variable to publish the DLL-name.
Bugfix for TaskBarClickAndRestoreOnTop for About-dialog and command wizards
Minor tweaks at wizard 'hpwSetWindowPos' and the About-Dialog
Added command wizards in NBP
Added 'About' dialog
Added hpwSendKeys.ini support for language strings
Added newLISP direct interface
Action: hpwKillProcessId - Renamed from hpwKillProcess
Action: hpwKillProcessName - Kill all instances of process-name or process-names in list.
Action: hpwGetProcessList - Fix for a memory leak
Action:hpwKillProcess - Kill one or more process-id (delimited by choosable delimiter)
Action:hpwGetProcessList - Now a list of running processes with filename|PID|path\filename.
Action:hpwGetProcessList - Get a list of running processes (filename/PID).
Action:hpwKillProcess - Kill a running processes by process-id.
Action:hpwSetTransparent - Set window-transparence by handle. (>= WIN2K)
Action:hpwGetParent - Get a parent-handle of a window-handle.
Action:hpwSetParent - Set a parent-handle of a window-handle.
Action:hpwSetWindowPos - Set a window-pos, size and topmost-status via API by handle.
Bugfix: hpwSendKeysToTitle and hpwSendKeysToHandle disable
the caps-lock when it is activ as long as keys are send.
Action:hpwFindAWindow find a top-level-window with a substring of the caption and optional class-name.
Initial Release 1.0:(XX.07.2002)
hpwSendKeysToHandle "[Result1]" "123[#13]"
where [Result1] is a handle from ronnies rtGetAppHandle and it sends a 123+return
hpwSendKeysToTitle "Calculator" "456"
The window title must be an exact match.
The plugin does not provide a translation like neossoft "sendkeys" for special Keys.
But it is small and free! And I hope that ronnie or dave come up with a better solution.
The stuff support some value's for special keys:
BKSP = #8;
TAB = #9;
ENTER = #13;
ESC = #27;
ADD = #107;
SUB = #109;
F1 = #228;
F2 = #229;
F3 = #230;
F4 = #231;
F5 = #232;
F6 = #233;
F7 = #234;
F8 = #235;
F9 = #236;
F10 = #237;
F11 = #238;
F12 = #239;
HOME = #240;
END = #241;
UP = #242;
DOWN = #243;
LEFT = #244;
RIGHT = #245;
PGUP = #246;
PGDN = #247;
INS = #248;
DEL = #249;
SHIFT_DN = #250;
SHIFT_UP = #251;
CTRL_DN = #252;
CTRL_UP = #253;
ALT_DN = #254;
ALT_UP = #255;
It remains a problem with ASCII values >=228 (like german öäüß).
In this area are the constants for the functionkeys mapped.