I’m interested in automating the organization of my Safari tabs based on the websites they belong to using AppleScript. Specifically, I’d like to create a script that sorts and groups tabs by website, streamlining my browsing experience.
Could anyone provide guidance on how to write an AppleScript for this purpose? I’m relatively new to scripting, so a step-by-step explanation or example code would be greatly appreciated.