9 of the Most Helpful Shortcuts to Automate Tasks on Your Mac – Lifehacker

Screenshot: Pranay Parab

This shortcut is a fun thing to try if you like checking out what you can do with Safari, but frankly, it’s not very well optimized for macOS. It can quickly enable dark mode, edit the text on any webpage, and make pages scroll automatically, among other functions. These features are ideal for mobile Safari, but maybe not so much on macOS because you can already do those things easily on the Mac. But who are we to stand in the way of having some fun with shortcuts, which is why SafariMastr makes the cut.

To use this shortcut, enable the Develop menu in Safari first. Open Safari and go to Safari > Preferences > Advanced and check Show Develop menu in menu bar.

Next, open Develop menu in Safari and enable Allow JavaScript from Apple Events. Make sure the active tab is the webpage in which you’d like to run SafariMastr.

Now go to the Shortcuts app on your Mac and use the menu bar to navigate to Shortcuts > Preferences > Advanced and enable Allow Running Scripts and run SafariMastr. You’ll see a menu with various features, and you can pick the one you want to execute. We tried auto-scroll on a particularly long page, and it worked fairly well.

If you decide you’re not going to continue using this shortcut, you should disable running scripts in Shortcuts and stop allowing JavaScript from Apple Events in Safari.

Download: SafariMastr

Source: https://lifehacker.com/9-of-the-most-helpful-shortcuts-to-automate-tasks-on-yo-1847982949

Leave a Reply

Your email address will not be published. Required fields are marked *