Benches macOS

6

Back Button Script for Safari

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I'm new to scripting. The "command [" sequence will cause Safari to go back to the previous page. Isn't there a way to record or author this so I can assign it to a mighty mouse button? I've done my searches and haven't come up with anything conclusive on how to do this without loading another shareware program.

6 replies

Sign in or join Beachball Help to reply.

  1. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Interestingly, on my machine its CMDSHIFT[ and CMDSHIFT] that toggles tabs. As for scripting it, I don't know mighty mouse, so you're on your own.

  2. 0

    mikeinpa

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    It's not about toggling tabs. It's about about going back to the previous Safari window.

  3. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm not seeing what you're seeing. Where is that previous window command? AFAIK, CMD+backward apostrophe (the key just below the ESC key) will cycle through all open windows, while hiding the others.

  4. 0

    mikeinpa

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Previous window is CMD+[ (left square bracket). Works just like hitting the back arrow. If you open a new tab for every link you click on then this command is useless. Depends on your browsing preference.

  5. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I don't know how to do it using Apple script (it might not be possible) but you can do it using USB overdrive.

    http://www.versiontracker.com/dyn/moreinfo/macosx/13443

    It's a shareware (20$) which is a downside but it will allow you to bind mouse-clicks to various actions for different applications.

  6. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Sorry, not working on my machine and I don't see it any of Safari's menus.