getMessage = Win32API.new("user32", "GetMessage", ['P', 'L', 'I', 'I'], 'I')
msg = " " * 28
while(getMessage.call(msg, 0, 0, 0))
temp = msg.unpack("L*")
p "消息屏幕坐标:(" + temp[5].to_s + "," + temp[6].to_s + ")"
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |