Advertisement
bocciaman

Close Tabs to the Left of Active Tab

Mar 21st, 2022
3,689
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tell window 1 of application "Safari"
  2.     close (tabs where index < (get index of current tab))
  3. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement