Get the App
SLTechnology News&Howtos  ›  Development  › 

How to write a vbs script that opens qq and lets it enter its own user name and password

Shulou Source: shulou.com Published: 2022-06-03 08:33:53 11月15日 Update

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!

Tags: Password user name script input study code content number that is ideas situations articles more knowledge knowledge points articles follow paths questions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker NVidia OPPO Reno Apple Microsoft