Skip to content

Instantly share code, notes, and snippets.

@bltravis
Created December 16, 2010 15:26
Show Gist options
  • Save bltravis/743518 to your computer and use it in GitHub Desktop.
Save bltravis/743518 to your computer and use it in GitHub Desktop.
Max Daily Tabs
tell application "Google Chrome"
set aWin to window 1
repeat 25 times
tell aWin
set newTab to make new tab
set newTab2 to make new tab
set newTab3 to make new tab
set newTab4 to make new tab
set newTab5 to make new tab
delay 2
tell newTab
delete
end tell
tell newTab2
delete
end tell
tell newTab3
delete
end tell
tell newTab4
delete
end tell
tell newTab5
delete
end tell
end tell
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment