📄 getcursorpos.via
字号:
// GetCursorPos.lnl
application PE GUI;
include "Windows.inc";
type POINTAPI {
dword x;
dword y;
}
POINTAPI p;
entry
string buffer;
GetCursorPos(p); Format(buffer,"x=%d : y=%d",p.x,p.y);
MessageBox(0,buffer,"Current Position",$20);
if (MessageBox(0,"Do you wan't to apply new coordinates?",
"New Position",$24)=IDYES) {
p.x = 200; p.y = 200; SetCursorPos(p.x,p.y);
}
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -