How can I use automator to make Safari open a new tab if safari is already open?
Hi.
I used applescript and automator to create shortcuts for myself for Netflix, Disney+, and Prime Video.
Here is my current applescript for opening the shortcuts, it essentially opens a new window, and then sets the url to the webpage, however, when I click on one, it opens up, but if I click on another one, it just changes the url of the current tab to whatever I inputed there. So if I open "Netflix" and then click on my "Prime Video" shortcut, it just changes that url and goes to prime video. Is there any sort of statement that would say "If safari is already open, then make a new document"?
Thank you.
MacBook Pro 13″, macOS 11.2