Open frontmost Safari tabs in Google Chrome with AppleScript

use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
set url_list to {}
tell application "Safari"
set w to window 1
try
repeat with t in (tabs of w)
set TabURL to (URL of t)
copy TabURL to the end of url_list
end repeat
end try
end tell
tell application "Google Chrome"
set w to make new window
repeat with u in url_list
tell w
set newTab to make new tab with properties {URL:u}
end tell
end repeat
end tell


🌟 Was this page helpful? Please let me know with this quick, 3 question survey.