Skip to content

Commit

Permalink
ProcessInputCommand call ProcessInputCommandCallBack by SetTimer
Browse files Browse the repository at this point in the history
  • Loading branch information
goreliu committed Apr 28, 2016
1 parent d4ebab1 commit 4a88bbf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions RunZ.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,14 @@ return
ProcessInputCommand:
ControlGetText, g_CurrentInput, %g_InputArea%

; 为了避免搜索时间过长导致不再调用 ProcessInputCommand
; 不清楚这样做是否有其他问题
SetTimer, ProcessInputCommandCallBack, 0
return

ProcessInputCommandCallBack:
SetTimer, ProcessInputCommandCallBack, Off

if (g_SkinConf.ShowInputBoxOnlyIfEmpty)
{
if (g_CurrentInput != "")
Expand Down

0 comments on commit 4a88bbf

Please sign in to comment.