| |
texasintro
Posts: 2
Score: 0
Joined: 6/22/2008
Status: offline
|
Let me try this again, apparently I explained it badly. Here is a little wsh script which works by inserting tabs when I hit cntrl-alt-a (which Ive defined in the shortcut of the wsh file using the properties tab). I use the control sequence inside of the currently executing pgm, such as notepad. Dim WshShell Set WshShell = Wscript.CreateObject("Wscript.shell") WshShell.Sendkeys "{TAB}" WshShell.Sendkeys "{TAB}" However, what I really want to do is send AUSTIN {TAB} TX {TAB} 787 But when I add the line WshShell.Sendkeys "AUSTIN" it does nothing, though I get no runtime error When I add the line WshShell.Echo "AUSTIN" (which I didnt think would work anyway) I get a runtime error. Is there some command that will successfully send text? Thanks! I can get text into those pop up boxes using Echo, but that isnt of much help.
|
|