Main Area and Open Discussion > General Software Discussion
Simple Commandline to send Keystrokes (WinSendKeys)
kikon:
... very useful tool :up:
for reach to any search box from one GUI such as FARR
Micha8583:
Hi,
do I implement WinSendKeys.exe as a batch file (like .bat) in DOS or in a command window /dos window?
Double- clicking doesn't do it ;D
Thanks,
Mike
jgpaiva:
Micha: yes, you need to run WinSendKeys.exe from the command line to pass it arguments
Ath:
Most likely you can configure a command to be executed behind either a button or on a program event. There you could enter an entire command-line for WinSendKeys to do it's useful job. Or if there's not enough space, pass it a keystroke file (using the -f option), or just create a batchfile that does the job.
[shameless plug]
Can be quite nicely combined with WinButtons, published as a coding snack by myself :up:
[/shameless plug]
Ath:
OK, so I found a bug, all on my own :up:, oh well, maybe that's not so good after all :tellme:
The fix was small and easy, so here is another update WinSendKeys 3.0.2
Latest release & download moved to separate thread
Here's the changelog since 3.0.1:
; 2011-03-12, version 3.0.2
; ! BugFix in detecting an active application/window
; + Added application version to helpmessage
; * Minor cleanup
; * Adapted the helptext somewhat
The readme was cleaned-up a bit by removing the change history (it's in the source), the source and compiled exe are also included in the attachment
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version