Qq automatic login script generator v1.01.bat

Source: Internet
Author: User

Qq automatic login script generator v1.01.bat, uses the processid attribute to activate the QQ login window. This solves some of the problem that the logon window title cannot be activated in version 1.0 and some modified QQ versions are not "QQ user login.

@ Echo off
Title QQ automatic login script generator v1.01
Echo.
Echo.
Echo QQ automatic login script generator v1.01
Echo code by: t0nsha
Echo Email: tunhsiaatgmail.com
Echo blog: http://blog.csdn.net/t0nsha/
Echo considerations:
Echo (1) the QQ login using this script must have been manually logged on once;
Echo (2) it is recommended that you do not lose the focus during script running. If not, try multiple times.
Echo.
Set/P qqpath = (1/3) enter the QQ path (for example, C: Program filesqqqq.exe, without quotation marks !) :
Set/P qqnum = (2/3) enter the QQ number:
Set/P qqpass = (3/3) enter the QQ password:
Echo 'created by: QQ automatic login script generator v1.01.bat> % qqnum %. vbs
Echo 'writer: t0nsha, email: liaodunxia@gmail.com> % qqnum %. vbs
Echo 'welcom to myblog: http://blog.csdn.net/t0nsha/> % qqnum %. vbs

Echo sub delayedsendkeys (STR) >>%qqnum %. vbs
Echo wscript. Sleep 100 >>%qqnum %. vbs
Echo wshshell. sendkeys STR >>% qqnum %. vbs
Echo end sub> % qqnum %. vbs

Echo dim wshshell, oqq, szqqpath> % qqnum %. vbs
Echo szqqpath = "% qqpath %"> % qqnum %. vbs

Echo set wshshell = Createobject ("wscript. Shell")> % qqnum %. vbs
Echo set oqq = wshshell. Exec (szqqpath)> % qqnum %. vbs

Echo Do While 1> % qqnum %. vbs
Echo if wshshell. appactivate (oqq. processid) = true then> % qqnum %. vbs
Echo delayedsendkeys "{tab}" >>%qqnum %. vbs
Echo delayedsendkeys "% qqnum %"> % qqnum %. vbs
Echo delayedsendkeys "{tab}" >>%qqnum %. vbs
Echo delayedsendkeys "% qqpass %"> % qqnum %. vbs
Echo delayedsendkeys "{enter}" >>% qqnum %. vbs
Echo exit do> % qqnum %. vbs
Echo end if >>% qqnum %. vbs
Echo wscript. Sleep 100 >>%qqnum %. vbs
Echo loop> % qqnum %. vbs
Echo.
Echo congratulations, the script has been generated!
Pause

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.