![]() ![]() A new ‘Run script’ item should have appeared in the main ‘Triggers’ window.If it doesn’t, then you’ll need to click this field and type ‘Run.’ As soon as you select a script, the ‘Action’ field should update automatically with the ‘Run’ action.Start typing the name of the script you created in the previous step, until this script appears in the ‘Select an Item’ field. Click the ‘+’ icon that appears towards the bottom of this window, and then select ‘Keyboard’ from the dropdown menu that appears.Select ‘Custom Triggers’ from the left-hand menu.Select ‘Quicksilver’ from the Mac menu bar, followed by ‘Preferences….’.Once you’ve written your script, the next step is using Quicksilver to define the keyboard shortcut that you’ll use to trigger this script: The ‘using’ parameter tells the system to emulate a specific key being pressed, so this line is basically: “Emulate pressing the Shift and Commands keys.” This is the shortcut I’m going to customise in this section, but I’ll also explain how the script works so you can tweak it to target any other keyboard shortcuts that may be causing you problems.Ĭopy/paste the following script into the AppleScript window: The keyboard shortcut I use the most often is Command-Shift-4 shortcut, which allows you to take a screenshot of a portion of your screen. The first step is writing a script, so navigate to Applications/Utilities and launch your Mac’s Script Editor application. Let’s start by looking at how you can replace any default keyboard shortcut with the hotkey of your choice. You’ll find Script Editor in your Mac’s Applications/Utilities folder. Select the Quicksilver and Script Editor applications.Make sure the ‘Privacy’ tab is selected, then select ‘Accessibility’ from the left-hand menu.Select ‘System preferences….’ followed by ‘Security & Privacy.’.Click the ‘Apple’ icon in your Mac’s menu bar.You’ll also need to grant both Quicksilver and Script Editor access to your Mac’s Accessibility features: Although you can download Quicksilver for free, this project is maintained by volunteers so you may want to consider making a donation to help support their work.ġ3 Extremely Useful Chrome Keyboard Shortcuts To start, download and install the latest version of QuickSilver. The script will then run, and the system will act as though you’ve just pressed the original Command-Shift-4 shortcut.īefore we can start writing our scripts and creating our triggers, you’ll need to do a bit of setup. So, you could write a script that emulates pressing the Command-Shift-4 keys, and then trigger this script whenever you press the Command-4 keys (or, potentially a single Function key, as we’ll see later in this article). You then use the Quicksilver application to create a ‘trigger’ that launches the script whenever you press the hotkey of your choice. Throughout this tutorial we’ll be writing scripts that trick the system into believing you’ve activated various keyboard shortcuts. Towards the end of this tutorial, I’ll show you how to transform a Spotify-specific shortcut into a global shortcut, so you can interact with your music even when Spotify isn’t visible. This inconsistency can be confusing, but there is a way to ensure you always get exactly the same behaviour regardless of which app is currently in focus: turn your favourite app-specific shortcut into a global shortcut. Many app-specific keyboard shortcuts will act differently depending on whether that particular application is in focus, and may not even work if the app isn’t currently visible onscreen. Ever felt like some of the Function keys that run along the top of your keyboard are wasted space? Your Mac’s Function keys may have little icons printed on them that relate to their default functionality, but that doesn’t mean you can’t customise them to perform completely different actions! Maybe there’s a particular shortcut that you always struggle to remember, or find awkward to execute – some of Apple’s default shortcuts do require you to press keys at completely opposite ends of the keyboard, after all! Substitute any keyboard shortcut for the hotkey of your choice.By the end of this tutorial, you’ll know how to: In this tutorial I’m going to show you how to get around these limitations by using AppleScript scripts and the Quicksilver application to modify your Mac’s default shortcuts (or “hotkeys”) in three powerful ways. ![]() However, when it comes to tweaking these built-in keyboard shortcuts to better suit your needs, by default macOS isn’t as flexible as some other operating systems. Your typical Mac comes with a wide range of built-in keyboard shortcuts that can seriously boost your productivity and generally make using your Mac more enjoyable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |