Create a text file of safari tabs?

Here an approach in a very basic form:

Untitled-pty-fs8

Notes:

  • The hotkey works as toggle:

    • If there are no saved URLs, the macro will save all tab URLs
    • If the macro finds saved URLs, it will load the URLs and delete the variable that contains the URLs
    • If you don’t like the toggle character, split the macro into two; or add a user prompt that decides whether URLs should be saved or reloaded.
  • All tabs are restored to a single window, even if they were originally distributed over several windows


Note 2019-08-26:

This post will no longer be updated.

As suggested by some users I have created my own topic with this macro in the Macro Library section.

You find any new versions of the macro as well as the download link in the new topic.

Please post any new comments/suggestions/issues related to the macro in the new topic.