Created
February 1, 2022 19:30
-
-
Save julian-west/7fd413fadbe1bbf809d8064f97091c71 to your computer and use it in GitHub Desktop.
'Moves' current Chrome tab to a new window
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
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