-
-
Save YosefBayoude/60963cc0f5fd3b37345e16bac2b9b266 to your computer and use it in GitHub Desktop.
This file contains 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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
;Launhes the desktop switch | |
Loop, 3 { | |
SendInput ^#{Right} | |
Sleep 75 ;Delay between each press, tweak if you are experiencing issues going back to the first Virtual Desktop | |
} | |
Sleep, 50 | |
Loop, 3 { | |
SendInput ^#{Left} | |
Sleep 75 ;Delay between each press, tweak if you are experiencing issues going back to the first Virtual Desktop | |
} | |
Run, "Desktop Switch.ahk", %A_WorkingDir% | |
ExitApp, 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment