I decided to switch from Firefox to Orion today. I saved all my open tabs (196) to a bookmark folder in Firefox, right-click on the folder -> copy, paste urls into a file tabs.txt, and run
cat tabs.html | while read -r URL; do open "$URL"; sleep 5; done
I afk for a bit and come back to my laptop barely responsive and NINE identical Orion applications/windows open each with 177 of the same tabs. I thought I had a screenshot of Mission Control of all 9 but no; I got this photo instead after closing 8 of the 9 windows but not the applications.
The application (which was already running before I ran the script) should only be open once and aside from that, only one instance of the application should act on the trigger from open
. The second problem could probably be solved by addressing the first.