CopyCode The Code is as follows: dim wshshell
Set wshshell = Createobject ("wscript. Shell ")
Each line below is a good command. Please explain the effect of running each of the following statements. Do not run all at a time to view the results one by one.
'Open IE
'Wshshell. sendkeys CHR (& h88ac)
'System mute
'Wshshell. sendkeys CHR (& h88ad)
'Wshshell. sendkeys CHR (& h88ae)
'Wshshell. sendkeys CHR (& h88af)
'Wshshell. sendkeys CHR (& h88b4)
'Wshshell. sendkeys CHR (& h88b5)
'Wshshell. sendkeys CHR (& h88b6)
'Wshshell. sendkeys CHR (& h88b7)
Open IE in combination, enter www.jb51.net and press ENTERCopy codeThe Code is as follows: dim wshshell
Set wshshell = Createobject ("wscript. Shell ")
Wshshell. sendkeys CHR (& h88ac)
Wscript. Sleep 2000
Wshshell. sendkeys "www.jb51.net"
Wshshell. sendkeys "{enter }"
Let the system mute code, save the following code as 1.vbs, and double-click to run it.Copy codeThe Code is as follows: dim wshshell
Set wshshell = Createobject ("wscript. Shell ")
Wshshell. sendkeys CHR (& h88ad)
If you study the rest, you can leave a message to supplement the study.
Generally, sendkeys are unreliable because the focus of the window is often unpredictable and difficult to control. The appactivate method sometimes causes the window to flash and cannot be activated again.ProgramThere is no way.
Hexadecimal Description: http://www.jb51.net/article/26388.htm