0
我在一個不同的腳本中有一個熱鍵程序,我嘗試觸發(#u::),它似乎有一個錯誤行爲。即使在指示釋放時,Windows中的腳本仍然按下按鈕
腳本#1:
#MenuMaskKey vk07
#u::
msgbox,,test
return
腳本#2正試圖觸發#U ::熱鍵:
#SingleInstance
#NoEnv
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#MenuMaskKey vk07
SendLevel, 10
Send, #{u} ; This successfully triggers the hotkey but now it holds down the # button
sleep, 1000
Send, {RWin Up} ;Here I am trying to release it but it still doesn't let it go
順便說一句,這種情況與所有其他修飾,太像移, alt和控制。
我在最新版本(v1.1.26.01)上。
SendInput {倫下來} U {LWin Up}做到了!其餘是不必要的。 – Ahmed