Created
October 30, 2016 07:20
-
-
Save ideabucket/97feb98b5f4f5ce9195465660eabdb4a to your computer and use it in GitHub Desktop.
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
(* trivial applescript to open all tabs in a Safari window in Chrome | |
storing it here because I _always_ forget how to get _tabs in a usable form *) | |
tell application "Safari" | |
tell application "Google Chrome" to set w to (make new window) | |
set _tabs to (URL of every tab of window 1) | |
repeat with t in _tabs | |
tell application "Google Chrome" to tell w to make new tab with properties {URL:t} | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment