Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
25
Task/Keyboard-macros/AutoHotkey/keyboard-macros.ahk
Normal file
25
Task/Keyboard-macros/AutoHotkey/keyboard-macros.ahk
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Loop, 200 ; loop 200 times while not paused
|
||||
{
|
||||
TrayTip, counting, %A_Index% press alt-p to pause
|
||||
Sleep, 1000
|
||||
}
|
||||
|
||||
!p:: ; links alt-p key combination to the method pauseme() (system wide)
|
||||
pauseMe()
|
||||
Return
|
||||
|
||||
!r:: ; links alt-r key combination to the method resume() (system wide)
|
||||
resume()
|
||||
Return
|
||||
|
||||
pauseMe()
|
||||
{
|
||||
MsgBox, pausing`, press alt-r to resume
|
||||
Pause
|
||||
}
|
||||
|
||||
resume()
|
||||
{
|
||||
TrayTip, resume, resuming, 2
|
||||
Pause, off
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue