Use the key wizard to write the phone-side Button Wizard Batch Add Group script

Source: Internet
Author: User

A few days ago, friends want to add a few groups on the phone, but one of the manual operation is too uncomfortable, and then use the key wizard to help him write a code to automatically add the group. Share to everyone.

Keepscreen Truedelay2000Dim scrwidth, scrheight,a,x,y,i,intx,intyscrwidth =Getscreenx () Scrheight =Getscreeny ()‘ShowMessage scrwidth& "--" &scrheightTraceprint Scrwidthtraceprint scrheightif scrwidth<>540 and Scrheight<>960Then ShowMessage"This script only supports 960*540 resolution, the phone resolution is not correct, the script stops."Delay (2000) Endscriptend Ifdelay2000Delay2000x =270y =60For i=1 to9Delay1000y = y +104Tap x, y showmessage x&"-"&Y Delay2000Tap260,920Delay4000Inputtext"Nihao."delay 4000 Tap 490, 4000 delay  KeyPress " back" Next showmessage 
                                                             
                                                               "
                                                              Next page" delay  KeyPress "PageDown" delay  /c20> 
                                                             

Related Article

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.