按键精灵脚本优化(本人新手,自己看网上帖子弄了一个按键精灵的脚本,运行游戏以后发现好卡)
运行以后发现CPU还是好高。。。之前是4个的,我合成了一个,求大神告诉我一下怎么样能优化这个脚本让进程不要那么高。。。BeginThreadaaBeginThreadbb...
运行以后发现CPU还是好高。。。之前是4个的,我合成了一个,求大神告诉我一下怎么样能优化这个脚本让进程不要那么高。。。BeginThread aaBeginThread bbBeginThread ccBeginThread dd
Sub aaRem aFindPic 0,0,1024,768,"Attachment:\重登.bmp",0.9,intX,intYIf intX > 0 And intY > 0 Then KeyPress "Delete", 1Delay 1000KeyPress "H", 1KeyPress "U", 1KeyPress "A", 1KeyPress "N", 1KeyPress "G", 1KeyPress "J", 1KeyPress "I", 1KeyPress "N", 1KeyPress "G", 1KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyDown 18, 1KeyPress 56, 1KeyUp 18, 1Delay 1000KeyDown 18, 1KeyPress 55, 1KeyUp 18, 1Delay 1000KeyPress "Delete", 1End IfGoto aEnd Sub
Sub bbRem aFindPic 0,0,1024,768,"Attachment:\500.bmp",0.9,intX,intYIf intX > 0 And intY > 0 ThenKeyPress "Delete", 1Delay 1000KeyPress "PageUp", 1Delay 3000KeyPress "Delete", 1End IfGoto aEnd Sub
Sub ccRem aKeyPress "F6", 1Delay 200000Goto aEnd Sub
Sub ddRem aKeyPress "F5", 3Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Enter", 1Delay 500KeyPress "Enter", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Enter", 1Delay 500KeyPress "Enter", 1Delay 500KeyPress "Enter", 1Delay 500KeyPress "Enter", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 300000Goto aEnd Sub 展开
Sub aaRem aFindPic 0,0,1024,768,"Attachment:\重登.bmp",0.9,intX,intYIf intX > 0 And intY > 0 Then KeyPress "Delete", 1Delay 1000KeyPress "H", 1KeyPress "U", 1KeyPress "A", 1KeyPress "N", 1KeyPress "G", 1KeyPress "J", 1KeyPress "I", 1KeyPress "N", 1KeyPress "G", 1KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyPress "Enter", 1Delay 1000KeyDown 18, 1KeyPress 56, 1KeyUp 18, 1Delay 1000KeyDown 18, 1KeyPress 55, 1KeyUp 18, 1Delay 1000KeyPress "Delete", 1End IfGoto aEnd Sub
Sub bbRem aFindPic 0,0,1024,768,"Attachment:\500.bmp",0.9,intX,intYIf intX > 0 And intY > 0 ThenKeyPress "Delete", 1Delay 1000KeyPress "PageUp", 1Delay 3000KeyPress "Delete", 1End IfGoto aEnd Sub
Sub ccRem aKeyPress "F6", 1Delay 200000Goto aEnd Sub
Sub ddRem aKeyPress "F5", 3Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Enter", 1Delay 500KeyPress "Enter", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Enter", 1Delay 500KeyPress "Enter", 1Delay 500KeyPress "Enter", 1Delay 500KeyPress "Enter", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Down", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 125KeyPress "Enter", 1Delay 300000Goto aEnd Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |