Errror at line 2.
The foollowing variable name contains an illegal character:
"&MouseX"
The program will exit
錯誤怎麼處理 Topic is solved
Moderators: tmplinshi, arcticir
Re: 錯誤怎麼處理
你没有给出完整的代码,错误提示是说变量名中含有非法字符。
标识符只能由字母或下划线开头,你这个变量&MouseX,以&字符开头,所以报错了。
标识符只能由字母或下划线开头,你这个变量&MouseX,以&字符开头,所以报错了。
Re: 錯誤怎麼處理
这不完全正确。
https://www.autohotkey.com/docs/v2/Variables.htm#ref
https://www.autohotkey.com/docs/v2/lib/MouseGetPos.htm#Examples
您可能试图用 AHK v1 运行 AHK v2 脚本。
https://www.autohotkey.com/docs/v2/Variables.htm#ref
https://www.autohotkey.com/docs/v2/lib/MouseGetPos.htm#Examples
您可能试图用 AHK v1 运行 AHK v2 脚本。
Who is online
Users browsing this forum: No registered users and 16 guests