2013-06-04 50 views

回答

1

您可以使用@HotKeyPressed變量。

例如:

$char = 0 
while $char < 126 
HotKeySet(Chr ($char),"writekeys") 
$char = $char + 1 
WEnd 

while 1 
sleep(10) 
WEnd 


Func writekeys() 

HotKeySet(@HotKeyPressed) 
send(@HotKeyPressed) 
;do something 
HotKeySet(@HotKeyPressed,"writekeys") 

EndFunc 
相關問題