Created
November 20, 2015 08:17
-
-
Save JonTheNiceGuy/d8d60faa8184a360f381 to your computer and use it in GitHub Desktop.
Need something to rotate around windows on your Windows Desktop or RDP screen? This will do it! :) Requires AutoHotKey
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
InputBox, Sleep_Period, Alt-Tab-Script, How long do you want to wait between alt-tab - default 1 minute, , , , , , , , 1 | |
InputBox, Number_Windows, Alt-Tab-Script, How many windows (max 6), , , , , , , , 3 | |
SleepTime := ((Sleep_Period * 60) * 1000) | |
MsgBox, Sleeping %SleepTime% | |
Loop { | |
sleep, %SleepTime% | |
if Number_Windows = 2 | |
{ | |
Send, {alt down}{tab}{alt up} | |
} | |
if Number_Windows = 3 | |
{ | |
Send, {alt down}{tab}{tab}{alt up} | |
} | |
if Number_Windows = 4 | |
{ | |
Send, {alt down}{tab}{tab}{tab}{alt up} | |
} | |
if Number_Windows = 5 | |
{ | |
Send, {alt down}{tab}{tab}{tab}{tab}{alt up} | |
} | |
if Number_Windows = 6 | |
{ | |
Send, {alt down}{tab}{tab}{tab}{tab}{tab}{alt up} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment