举报
AdlibRegister("_HotKeySet") Func _HotKeySet() If HotKeySet("+{F12}", "test") = 0 Then ;热键被其他程序占用了会返回0,程序内设置的可以重设置并返回1. MsgBox(0,0,"该热键已被其他程序占用",1) ;先删除被其他程序占用的热键(等老大...,俺不会!) ;HotKeySet("+{F12}", "test") Else ;MsgBox(0,0,"热键已设置",1) EndIf EndFunc Func test() ;return EndFunc While 1 Sleep(3000) WEnd
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-4-4 14:18 , Processed in 0.106593 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.