Can I send "Alt+Shift+1" 3 keypad buttons at the same time by the script?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
kuiwu_cn

Can I send "Alt+Shift+1" 3 keypad buttons at the same time by the script?

Post by kuiwu_cn »

Can I send "Alt+Shift+1" 3 keypad buttons at the same time by the script?
Thanks very much.

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Can I send "Alt+Shift+1" 3 keypad buttons at the same time by the script?

Post by jupe »

This should work I think, untested though

Code: Select all

 sendkeys "%+1";

kuiwu_cn

Re: Can I send "Alt+Shift+1" 3 keypad buttons at the same time by the script?

Post by kuiwu_cn »

Thank you very much for your reply. I can do this through VBS, and I've already verified it. I want to do it through the script of XYplorer.

Code: Select all

    set WshShell = WScript.CreateObject("WScript.Shell")
    WshShell.SendKeys "%+1"

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Can I send "Alt+Shift+1" 3 keypad buttons at the same time by the script?

Post by jupe »

That was an XY Script I posted, what app are you trying to send the keys to? this will send them to the active window.

Post Reply