2018年2月
下一页-
一、脚本载入事件子程序(onscriptload)123Sub onscriptload( MessageBox "脚本载入配置完成"End Sub二、脚本停止事件子程序(onscriptexit)123Sub onscriptex2018-02-27 18:10:26 180
-
一、启动线程(BeginThread)123456789101112线程ID=BeginThread(子线程 TracePrint "线程ID=" & 线程IDDo TracePrint "我是主程序"&n2018-02-27 18:00:30 330
-
一、加密字符串12TextMD5=plugin.Encrypt.Md5String("按键精灵" TracePrint "TextMD5=" &TextMD5二、获取文件MD5值12FileMD5=plugin.Encrypt.Md5File(&quo2018-02-26 18:19:33 440
-
一、让主板蜂鸣器报警1Call Plugin.Media.Beep(578, 1200 二、播放/停止音频文件123Call plugin.Media.Play("C:\Sound26.mp3" Delay 5000Call plugin.media.Stop(2018-02-26 17:31:22 290
-
一、在屏幕中显示文字(ShowScrTXT)123Call plugin.msg.ShowScrTXT(700,300,1024,900,"屏幕打字","00ee00" Delay 3000Call plugin.msg.HideScrTXT( 二、托盘提示信2018-02-26 17:11:00 310
-
一、得到/设置屏幕分辨率和色深1234567screenX = Plugin.sys.GetScRX( screenY = Plugin.sys.GetScRY( Dep=plugin.sys.GetScDep( TracePrint screenXTracePrint screenYTracePr2018-02-24 22:32:50 310
-
一、读写ini配置文件123Call plugin.file.WriteINI("补血配置","HP","80","C:\补血.ini" text=plugin.file.ReadINI("补血配置"2018-02-24 17:29:49 310
-
一、颜色插件相关的命令1、GetPixelColor得到指定点颜色123GetCursorPos x,ygetcolor = Plugin.color.GetPixelColor(x,y,0 TracePrint getcolor2、ColorToRGB颜色转RGB1234Call plugin.C2018-02-24 12:36:18 290
-
用脚本实现在记事本输入“hello”,然后输入“按键精灵”,最后把光标停留在“hello”和“按键精灵”之间。12345678910hwnd = Plugin.window.mousepoint( TracePrint "查找到的记事本窗口句柄为:"&hwndCall p2018-02-23 15:30:54 370
-
一、获取窗口句柄1、查找指定窗口句柄命令(Find)12Hwnd=plugin.window.Find(0,"无标题 - 记事本" TracePrint Hwnd2、查找子窗口句柄命令(FindEx)1234Hwnd = plugin.window.Find(0,"无标2018-02-23 14:17:50 280