Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can QBasic do the typing for me??
#1
I have software at home that I have to run over and over. I have to hit these keys on the keyboard repeatedly: Enter - Enter - Enter - D - st6.min - Enter - etc etc.

I'm wondering if there is a QBasic command that I can use to have QBasic hit those keyboard keys for me (so to speak). If there is a command for that can someone post it so I can then search Google on how to use that command?
Reply
#2
Not in QB. You can do it in VB, though, using "SendKeys"
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
Thanks. I shouldn't be waisting my time with QBasic. I should have learned C++ or Java or VB.
Reply
#4
QB is for fun. And fun is not wasting time Wink
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#5
Does Java have a similar command do you know? I think the Java Compiler is free, unlike VB.
Reply
#6
I think it has, but can't remember right now.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#7
In Java you would just need to manually fire the keypress events.
esus saves.... Passes to Moses, shoots, he scores!
Reply
#8
Haha at a Qb forum saying he shouldn't waste his time with qb. Haha I wouldn't be surprised if he was lynched.[/quote]
Reply
#9
Don't post off topic like that again. We're nice people - if you don't think so, keep it to yourself.
Reply
#10
No, nobody lynched me. I'm just disappointed that I've spent so much time learning this and now I find I'll have to learn another language to do what I want done. Frustrating to give so much time and effort, especially when everyone said to learn another language instead.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)