Skip to content

Commit

Permalink
若未处于刷取期间,使暂停热键无效
Browse files Browse the repository at this point in the history
  • Loading branch information
UCPr251 committed Aug 16, 2024
1 parent c6db306 commit 3258ad3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 零号业绩.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ init()
/** Alt+P 暂停/恢复线程 */
!p:: {
if (!ing) {
return MsgBox("当前未处于刷取期间", , "Icon! 0x40000 T3")
}
MsgBox("已" (A_IsPaused ? "恢复" : "暂停") "脚本,再次Alt+P可切换状态", , "T1")
Pause(-1)
}
Expand Down

0 comments on commit 3258ad3

Please sign in to comment.