vbscript sendkeys()

Tom Glod tom at makeshyft.com
Fri Oct 12 17:37:42 EDT 2018


Hey folks, is anyone currently successfully using "do as vbscript" and
sending keystrokes to other application windows?

I have it set to work when i hit a hotkey....

this is my vb script:

Dim Wsh
Set Wsh = CreateObject("Wscript.Shell")
Wsh.AppActivate "Notepad"
Wsh.SendKeys "Test abc"

it works to focus notepad every time

but only once in a while do the sendkeys work, what am I doing wrong?

Thanks,

Tom



More information about the use-livecode mailing list