Page 1 of 1

Getting Keyboard Input

Posted: May 21st, 2005, 4:38 pm
by thewatcher
I get the feeling I'm goign to feel stupid when I get the answer to this but I have been searchin and am ready to give up.

I just want to see what the user in typing or wait for a key to be pressed, I'm currently using VBscript. Would someone be willing to overlook my somehow not being able to find it and help me out here?

Re: Getting Keyboard Input

Posted: May 23rd, 2005, 4:33 am
by retsek
VBscript does NOT, unfortunately, have those features built in. You will need to use Win32 API or code the feature in another language then access the DLL.

Drove me nuts for couple weeks trying to find a way to do it in vbs and finally found info saying not possible. Hehe Good luck and keep up good work on your script.

Re: Getting Keyboard Input

Posted: May 23rd, 2005, 2:02 pm
by thewatcher
[quote="retsek";p="65477"]VBscript does NOT, unfortunately, have those features built in. You will need to use Win32 API or code the feature in another language then access the DLL.

Drove me nuts for couple weeks trying to find a way to do it in vbs and finally found info saying not possible. Hehe Good luck and keep up good work on your script.[/quote]

Thanks retsek, wrote a class to handle it. I appreciate the info, saved me a lot of searching.