在 上Windows
,当您按下Win+时f,会弹出 Windows Search 实用程序。我想重新定义这个捷径并指向另一个程序(是的,它也是一个搜索实用程序,一切)。我尝试了以下代码,但它不起作用。
; open everything.exe
HotKeySet("#f", "open_everything")
; # win
; ^ ctrl
; + shift
; ! alt
While 1
Sleep(200)
WEnd
; open everything
Func open_everything()
MsgBox(4, "", "everything ... ")
EndFunc
当我将快捷方式更改为Win+z时,一切正常。
; open everything.exe
HotKeySet("#z", "open_everything")
; # win
; ^ ctrl
; + shift
; ! alt
While 1
Sleep(200)
WEnd
; open everything
Func open_everything()
MsgBox(4, "", "everything ... ")
EndFunc
对这个问题有任何想法吗?谢谢