Created
September 13, 2019 17:23
-
-
Save briandfoy/e601ba5b888fe153c2d853ed469452f2 to your computer and use it in GitHub Desktop.
List the URLs in safari tabs
This file contains hidden or 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
#!/usr/bin/osascript | |
tell application "Safari" | |
repeat with w from 1 to number of windows | |
repeat with t from 1 to number of tabs in window w | |
log URL of tab t of window w as string | |
end repeat | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment