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