disable keys while sendkeys?
Is it possible to disable all, or most keys out for a short time(1 sec)?
I am using a sendkeys statement, and wonder if disabling key strokes, will disable the sendkeys too.
I overcame the pesky focus problem with a simple do event.
I want to disable key input, during this procedure:
do
dim appid as integer
appid = shell("app.exe", 1)
appactivate appid
sendkeys "{tab}yup!{enter}{F4}"
exit do
loop
Is much smaller and actually more effective than the Dan Appleman reference for putfocus/setfocus in "Guide to the Win32 API". Thanks Balena!
:confused:
PS For the benefit of other beginers, to activate an already running application and sendkeys to it, just omit the shell above.
For example:
do
appactivate appid
sendkeys "blah"
exit do
loop
focus returns to app that sent the keys.