1.Դ?源码뾫???̨
2.求按键精灵后台运行脚本
Դ?뾫???̨
//指定点后台点击的例子------------------------
点击 = WaitClick()//等待点击
Delay
//得到鼠标指向的窗口句柄
Hwnd = Plugin.Window.MousePoint()
GetCursorPos x, y//保存当前坐标
//下面这句是得到窗口句柄的客户区大小
sRect = Plugin.Window.GetClientRect(Hwnd)
//MsgBox "得到窗口句柄:"& hwnd //显示句柄
//下面这句用于分割字符串,将横坐标和纵坐标分成两个字符串
//dim MyArray
MyArray = Split(sRect, "|")
//下面这句将字符串转换成数值
L = Clng(MyArray(0)): T = Clng(MyArray(1))
R = Clng(MyArray(2)): B = Clng(MyArray(3))
Do//循环开始
for
Delay //等待2秒
next
Call Plugin.Bkgnd.LeftClick(Hwnd, x-l, y-t)//(变量为前台坐标系)
Loop//循环结点
求按键精灵后台运行脚本
//下面是源码,启动脚本之前,精灵editplus查找源码功能先将鼠标放到你需要使用的后台精品课程网站源码那窗口上面。
hwnd = Plugin.Window.MousePoint()
Delay
While 1
Call Plugin.Bkgnd.KeyDown(hwnd,源码易语言 服务端源码)
Delay
Call Plugin.Bkgnd.KeyDown(hwnd,)
Delay
Call Plugin.Bkgnd.KeyUp(hwnd,)
Delay
Call Plugin.Bkgnd.KeyPress(hwnd,)
Delay
Wend
参考:/question/.html
2024-12-26 01:25
2024-12-26 01:02
2024-12-26 00:50
2024-12-26 00:15
2024-12-26 00:09
2024-12-25 23:52
2024-12-25 23:45
2024-12-25 23:25