[Mac computer version of WeChat] Double-opening method, the simplest WeChat multi-opening tutorial, does not require any third-party tools

      Wechat is an indispensable social software in our daily life. Many people have more than one Wechat, but they usually face a problem. They can only open one Wechat at the same time on the computer. Today I have nothing to do, so I wrote a The script that can open more WeChat, I used batthe script at first, but batit needs to face the terminal, which is not suitable for ordinary people, so I learned and used it vbsto realize it

  • Double-click on the desktop vbs程序to open the input box and enter the number of WeChat to start
  • After confirming, enter the WeChat application address
  • After determining the number of the first step in the loop, execute the start WeChat operation

    Implementation ideas

  • Need to open the input box and get the input quantity, here is inputboxthe method
  • Enter the address of the WeChat application and get the result in the same inputboxway
  • use For...toloop
  • WScript.ShellThe method used Runto start WeChat

    specific code

    Finally, save the code on the desktop, and modify the suffix to .vbs, double-click to run it directly 

    reward

  • vbsVariables defined in can be useddim
  • CreateObjectCreate an object by
  • Declare a function with SuborFunction
  • CallCall a function by
  • Not equal to symbol can use<>
  • The input box can use inputboxcontrols
  • The message box can use msgboxcontrols
  • ifThe conditional judgment must end ifend with and is not case sensitive
  • epilogue
  • If there is an error, I hope you can point it out. By the way, this thing is based on Microsoft, so it can only be windowsused on the Internet~

Guess you like

Origin blog.csdn.net/2302_76405773/article/details/130422657
Recommended