Skip to content

Instantly share code, notes, and snippets.

@julian-west
Created February 1, 2022 19:30
Show Gist options
  • Save julian-west/7fd413fadbe1bbf809d8064f97091c71 to your computer and use it in GitHub Desktop.
Save julian-west/7fd413fadbe1bbf809d8064f97091c71 to your computer and use it in GitHub Desktop.
'Moves' current Chrome tab to a new window
tell application "Google Chrome"
set currentURL to URL of active tab of front window
close active tab of front window
set theWindow to make new window
set URL of active tab of theWindow to currentURL
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment