Opened new pinned tabs in Safari

Hey there!

When I’m at home or when I’m at work I use very different websites. Therefor I would like to run a Macro that shows different **pinned tabs in Safar**i, depending what shortcut I use.

The shortcut part is easy, but does anybody know how to make a Macro that:

  1. Closes existing pinned tabs
  2. Opens a set of new, predefined pinned tabs

Thanks a lot!