• 0

[VBScript] send Numblock Key as Keystroke


Question

As the fellows at the FloatMobileAgent Forum are quite - well - not helping.

I don't find a way to send the Numbers on the Keypad. Even on the msdn page i don't find it.

Shell.SendKeys ""{UP}""

Something like that, only that i want to send Ctrl + Alt + Keypad 6 (for example)

Edit:

Edited some obscurities pixels pointed out.

Edited by EvErSoR

10 answers to this question

Recommended Posts

  • 0

Do you mean the keypad numbers? Or the actual NumLock key?

If you mean the keypad numbers, I must ask why you need to use those rather than the ones above the keyboard.

My point is that instead of looking at the actual key on the keyboard that you want pressed, you need to look at it as the actual string you want sent.

  • 0

Yeah my bad. Of course I mean the keypad numbers. And i want to use these, cause with the normal keys the keystroke has no effect.

To explain more. I want to remotely control musikCube with my SE T610 using FMA. It supports a global hotkey feature meaning that you can control it with some keystrokes regardless where you are in windows. These Keystrokes are.

The functions are as follows:

Ctrl + Alt + Keypad 5 : Pause and Resume

Ctrl + Alt + Keypad 0 : Stop

Ctrl + Alt + Keypad 4 : Previous Track

Ctrl + Alt + Keypad 6 : Next Track

Ctrl + Alt + Keypad 8 : Volume Up

Ctrl + Alt + Keypad 2 : Volume Down

Ctrl + Alt + Keypad 7 : Previous Artist

Ctrl + Alt + Keypad 9 : Next Artist

Ctrl + Alt + Keypad 1 : Previous Album from Current Artist

Ctrl + Alt + Keypad 3 : Next Album from Current Artist

  • 0

was just looking through the documentation and was about to post my "Hooray and big thanks speech".

So....

Hooray!

I want to thank you ... ehm .... for all the fish or something.

Thanks

Not so much of a big speech but you get it :)

Edit:

And exactly help like this is why i just love Neowin

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.