'==========以下是按键精灵录制的内容==========
bool = True
Delay 2000// 给两秒钟时间 防止光标
//GetCursorPos x, y
//x = 2880
//y = 220
While true
// 获取鼠标位置
GetCursorPos x, y
TracePrint "x, y"
TracePrint x
TracePrint Y
Delay 1000
// 保证鼠标最后还在当前位置
If bool = True Then
x = x + 5
y = y + 5
bool = False
Else
x = x - 5
y = y - 5
bool = True
End If
Delay 1000 // 延迟一秒后移动光标
MoveTo x, y
// 等待 time 毫秒后重复
Delay 120000
Wend
'==========以上是按键精灵录制的内容==========