Created
September 25, 2022 18:34
-
-
Save JoeGlines/dfc29243a26fda174f7a7ae6cf7384aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;******************************************************* | |
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY | |
; Right now you can get a coupon code here: https://the-Automator.com/Learn | |
;******************************************************* | |
#MaxThreadsPerHotkey, 2 ;https://www.autohotkey.com/docs/commands/_MaxThreadsPerHotkey.htm | |
Tooltip, Toggle %Toggle% | |
^t:: | |
;************************************** | |
toggle :=!Toggle ;Set toggle to not be toggle | |
Tooltip, Toggle here: %Toggle% | |
sleep, 1000 | |
While, Toggle{ ;Use a while loop if Toggle exists | |
Tooltip, Toggle %Toggle% In While loop-%A_Index% ;showing the loop | |
sleep, 1000 ;just adding a sleep so not cray-cray fast | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment