How to write a vbs script that opens qq and lets it enter its own user name and password
This article mainly explains "how to write a vbs script that opens qq and lets it enter its own user name and password". The content of the article is simple and clear, and it is easy to learn and understand. Please follow Xiaobian's train of thought to slowly deepen, together to study and learn "how to write a vbs script that opens qq and lets it enter its own user name and password".
A script that opens QQ regularly and lets it enter its own user name and password
The copy code is as follows:
Dim program
Program= "c:\ Program Files\ Tencent\ qq\ QQ.exe" 'your qq path
Set Wshell=CreateObject ("Wscript.Shell")
Set oexec=Wshell.Exec (program)
Wscript.Sleep 2000
Wshell.AppActivate "QQTang"
Wshell.SendKeys "+ {TAB}"
Wshell.SendKeys "QQ number"
Wscript.Sleep 1000
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "QQ password"
Wscript.Sleep 1000
Wshell.SendKeys "{ENTER}"
Thank you for reading, the above is the content of "how to write a vbs script that opens qq and lets it enter its own user name and password". After the study of this article, I believe you have a deeper understanding of how to write a vbs script that opens qq and lets it enter its own user name and password, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!