Skip to content

Instantly share code, notes, and snippets.

@pkhabazi
Created July 17, 2019 13:18
Show Gist options
  • Save pkhabazi/6b84eac36402dcdaed795291a90602b1 to your computer and use it in GitHub Desktop.
Save pkhabazi/6b84eac36402dcdaed795291a90602b1 to your computer and use it in GitHub Desktop.
<#
Automatically Cycle Through Tabs in Edge
#>
while (1 -eq 1) {
$wshell=New-Object -ComObject wscript.shell
$wshell.AppActivate('microsoft-edge')
Sleep 3
$wshell.SendKeys('^+{TAB}')
$wshell.SendKeys('{F5}')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment