Script as follows, at present to the WSH. The sendKeys "% W" this step can't see the effect, the great god, please give directions, thank you
Dim the WSH
Set the WSH=createobject (" wscript. Shell ")
WSH. Appactivate (" Shanghai new generation program trading system a-share concentrated offer ")
Wscript. Sleep (100)
'clear interface
The WSH. SendKeys "% W
"Wscript. Sleep (100)
The WSH. Sendkeys "{RIGHT}
"The WSH. Sendkeys "{DOWN}
"The WSH. Sendkeys "{ENTER}
"Wscript. Sleep (100)
The WSH. Sendkeys "{TAP} 2"
The WSH. Sendkeys "{ENTER}
"Wscript. Sleep (100)
The WSH. Sendkeys "{ENTER}
"Wscript. Sleep (100)
The WSH. Sendkeys "{ENTER}
"'the launcher
The WSH. SendKeys "% OS
"Set the WSH=Nothing
CodePudding user response:
Ha ha, I met,,, the sendkey can only use in Windows 7 and more system earlier,,, if is doing or win10, has been banned for,,, you try on your Windows 7 or winxp system can useCodePudding user response:
Can refer to "prevent AFK. VBX" in this sharing scripts:https://pan.baidu.com/s/1mYCKI9FzI2MwsdJJr3TaHQ
You need to download NScript:
https://github.com/milaoshu1020/NScript