Skip to content

Instantly share code, notes, and snippets.

@peng051410
Created November 2, 2019 07:14
Show Gist options
  • Save peng051410/6e0470f247aff931b7fe65318690daaa to your computer and use it in GitHub Desktop.
Save peng051410/6e0470f247aff931b7fe65318690daaa to your computer and use it in GitHub Desktop.
OpenVivaldiTabsBySafari
set list_Tabs to {}
tell application "Vivaldi"
set the_Tabs to (tabs of every window)
repeat with the_Tab in the_Tabs
set the_Items to (every item of the_Tab)
repeat with the_Item in the_Items
copy URL of the_Item to end of list_Tabs
end repeat
end repeat
end tell
tell application "Safari"
repeat with list_Tab in list_Tabs
set myTab to make new tab at end of tabs of window 1
set URL of myTab to list_Tab
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment