ALT + Numpad at same time

Recommended Posts

Nucks 0

Nucks 0

I want to thank everyone for their help, even though you didn't realize you were helping me. I have searched the forums and read the help file. I almost have this script down but one thing isn't working right.

HotKeySet("{F12}", "Stop")

HotKeySet("{F11}", "Start")

While 1

Sleep(100)

WEnd

Func Stop()

Exit 0

EndFunc ;==>Stop

Func Start()

While 1

Send('2')

Sleep(500)

Send('5')

Sleep(500)

Send('4')

Sleep(500)

Send('6')

Sleep(3000)

Send('8')

Sleep(3000)

Send('!9')

Sleep(3000)

Send('!7')

Sleep(3000)

Send('6')

Sleep(3000)

Send('9')

Sleep(3000)

Send('2')

Sleep(500)

Send('4')

Sleep(500)

Send('5')

Sleep(500)

Send('!9')

Sleep(3000)

Send('!8')

Sleep(3000)

Send('6')

Sleep(3000)

Send('0')

Sleep(3000)

Send('!9')

Sleep(3000)

Send('-')

WEnd

EndFunc ;==>Start

Any time I use the Send('!9) [anything with !] it does not use it as ALT. The program is acting as if the ! is not there. I experimented and put a + in and it did the shift correctly.

Any thoughts would be appreciated and I will continue to lurk to learn more.

Share this post

Link to post

Share on other sites

EWOlson 0

EWOlson 0

OK, I knew I had seen something that had to do with button presses and games. (I'm assuming this is a game question.) The value is SendKeyDownDelay. It defaults to 5 milliseconds, and it sounds like you need to increase that.