While true键名=WaitKey()If 键名 = 65 Then //键码65就是A键脚本。。。。end ifwend以上脚本,先运行,之后如果按A键就执行脚本一次,直到你终止脚本就不再监视
首先要知道热键的数字代码i = WaitKey()if i=热键数字代码 thencall 子程序end if不懂再问