keyboard maestro Archives - MacSparky https://www.macsparky.com/blog/tag/keyboard-maestro/ Get More Productive with Your Apple Gear Sat, 28 Oct 2023 01:26:24 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 https://www.macsparky.com/wp-content/uploads/2021/12/cropped-MacSparky-Logo-2022-Slate-White-32x32.png keyboard maestro Archives - MacSparky https://www.macsparky.com/blog/tag/keyboard-maestro/ 32 32 Keyboard Maestro 11 and a Field Guide Update https://www.macsparky.com/blog/2023/10/keyboard-maestro-11-and-a-field-guide-update/ Sat, 28 Oct 2023 01:26:22 +0000 https://www.macsparky.com/?p=15198 This week saw the release of Keyboard Maestro Version 11. Yes, it now goes to 11. New features include a New Macro Wizard, a new Security preference pane, a command line tool, support for Apple Text Recognition, and new actions like Prompt for Snippet, Create Calendar Event, Send Pushover Notification, Select Menu by Name, and... Continue reading

The post Keyboard Maestro 11 and a Field Guide Update appeared first on MacSparky.

]]>
This week saw the release of Keyboard Maestro Version 11. Yes, it now goes to 11.

New features include a New Macro Wizard, a new Security preference pane, a command line tool, support for Apple Text Recognition, and new actions like Prompt for Snippet, Create Calendar Event, Send Pushover Notification, Select Menu by Name, and many more. (Read the full release notes.)

I’m enjoying the new version and am working on a free update to the course with a series of videos showing off the new features. I don’t want to give a release date just yet, but it will be a little while as I’m in the middle of another project, but there is a free update is on its way for the Keyboard Maestro Field Guide.

The post Keyboard Maestro 11 and a Field Guide Update appeared first on MacSparky.

]]>
AppleScript to Toggle Desktop Widgets https://www.macsparky.com/blog/2023/10/applescript-to-toggle-desktop-widgets/ Fri, 20 Oct 2023 22:33:34 +0000 https://www.macsparky.com/?p=15160 I’m a fan of the new Sonoma Desktop Widgets. However, I also make a living making screencasts and having all those widgets on screen can sometimes be a pain. There is a setting you can toggle under the Desktop & Dock settings: The problem with this, of course, is that it’s a pain in the... Continue reading

The post AppleScript to Toggle Desktop Widgets appeared first on MacSparky.

]]>
I’m a fan of the new Sonoma Desktop Widgets. However, I also make a living making screencasts and having all those widgets on screen can sometimes be a pain. There is a setting you can toggle under the Desktop & Dock settings:

The problem with this, of course, is that it’s a pain in the neck to get there. Who wants to do all that mousing and clicking? I wanted to automate this button so I can run a script that sets me up for screencasting and, among other things, turns off Desktop Widgets. So here’s a script that does just that. This was built with help from the AppleScript Sensei himself, Sal Soghoian. Below is a link to the zipped script file, as well as the script in plain text. I run it as part of a Keyboard Maestro macro that I’ve tied to a keyboard trigger. Enjoy.


tell application "System Settings"
	activate
	reveal anchor "Widgets" of pane id "com.apple.Desktop-Settings.extension"

	repeat
		set currentPane to get current pane
		if currentPane is pane id "com.apple.Desktop-Settings.extension" then
			exit repeat
		else
			delay 1
		end if
	end repeat
end tell

delay 1

tell application "System Events"
	tell process "System Settings"
		set targetControl to checkbox "Show Widgets" of group 6 of scroll area 1 of group 1 of group 2 of splitter group 1 of group 1 of window 1
		click targetControl
	end tell
end tell

tell application "System Settings" to quit

The post AppleScript to Toggle Desktop Widgets appeared first on MacSparky.

]]>
Scripting Moom for Windows Setups (MacSparky Labs) https://www.macsparky.com/blog/2023/03/scripting-moom-ro-windows-setups-macsparky-labs/ Sat, 11 Mar 2023 16:00:00 +0000 https://www.macsparky.com/?p=14133 You can automate window arrangements easily with Moom and one line of AppleScript. This video shows you how… This is a post for MacSparky Labs Members only. Care to join? Or perhaps do you need to sign in?

The post Scripting Moom for Windows Setups (MacSparky Labs) appeared first on MacSparky.

]]>
You can automate window arrangements easily with Moom and one line of AppleScript. This video shows you how… This is a post for MacSparky Labs Members only. Care to join? Or perhaps do you need to sign in?

The post Scripting Moom for Windows Setups (MacSparky Labs) appeared first on MacSparky.

]]>
The Screencasting Setup Script https://www.macsparky.com/blog/2023/03/the-screencasting-setup-script/ Fri, 10 Mar 2023 21:20:00 +0000 https://www.macsparky.com/?p=14131 Here’s a little video I made about how I set up my computer for Screencasting using a few scripts and Keyboard Maestro. There is also a short-term discount code for the MacSparky Labs if you are interested. Enjoy! Downloadable Scripts Keyboard Maestro Field Guide

The post The Screencasting Setup Script appeared first on MacSparky.

]]>
Here’s a little video I made about how I set up my computer for Screencasting using a few scripts and Keyboard Maestro. There is also a short-term discount code for the MacSparky Labs if you are interested. Enjoy!

Downloadable Scripts

Keyboard Maestro Field Guide

The post The Screencasting Setup Script appeared first on MacSparky.

]]>
Mac Launcher Deep Dive (MacSparky Labs) https://www.macsparky.com/blog/2023/01/mac-launcher-deep-dive-macsparky-labs/ Thu, 12 Jan 2023 06:06:45 +0000 https://www.macsparky.com/?p=13837 In this deep dive session, I cover the various ways to build automated launchers on your Mac, focusing particularly on techniques in Keyboard Maestro and Shortcuts for Mac… This is a post for MacSparky Labs Level 3 (Early Access) Members only. Care to join? Or perhaps do you need to sign in?

The post Mac Launcher Deep Dive (MacSparky Labs) appeared first on MacSparky.

]]>
In this deep dive session, I cover the various ways to build automated launchers on your Mac, focusing particularly on techniques in Keyboard Maestro and Shortcuts for Mac…

This is a post for MacSparky Labs Level 3 (Early Access) Members only. Care to join? Or perhaps do you need to sign in?

The post Mac Launcher Deep Dive (MacSparky Labs) appeared first on MacSparky.

]]>
Automating Loading Remote Content in Apple Mail with Keyboard Maestro (MacSparky Labs) https://www.macsparky.com/blog/2022/09/automating-loading-remote-content-in-apple-mail-with-keyboard-maestro-macsparky-labs/ Tue, 13 Sep 2022 22:35:03 +0000 https://www.macsparky.com/?p=13166 There is a new feature in Apple Mail that holds off on loading remote content in new mail messages until you push a button. While I like the feature, it gets annoying when you have to mouse over to click it while your hands are happily parked on the keyboard … This is a post... Continue reading

The post Automating Loading Remote Content in Apple Mail with Keyboard Maestro (MacSparky Labs) appeared first on MacSparky.

]]>
There is a new feature in Apple Mail that holds off on loading remote content in new mail messages until you push a button. While I like the feature, it gets annoying when you have to mouse over to click it while your hands are happily parked on the keyboard …

This is a post for MacSparky Labs Tier 2 (Backstage) and Tier 3 (Early Access) Members only. Care to join? Or perhaps do you need to sign in?

The post Automating Loading Remote Content in Apple Mail with Keyboard Maestro (MacSparky Labs) appeared first on MacSparky.

]]>
Using AppleScript to Open a Specific Mailbox in Apple Mail (MacSparky Labs) https://www.macsparky.com/blog/2022/06/using-applescript-to-open-a-specific-mailbox-in-apple-mail-macsparky-labs/ Wed, 15 Jun 2022 19:26:14 +0000 https://www.macsparky.com/?p=12649 Shortcuts for iOS 16 is adding a feature that lets you open a specific Mailbox in Apple Mail on your iPhone or iPad. Shortcuts for Ventura, however, doesn’t have that function. What gives? Never fear. Sparky figured out a way to duplicate the feature using AppleScript… This is a post for MacSparky Labs Level 3... Continue reading

The post Using AppleScript to Open a Specific Mailbox in Apple Mail (MacSparky Labs) appeared first on MacSparky.

]]>
Shortcuts for iOS 16 is adding a feature that lets you open a specific Mailbox in Apple Mail on your iPhone or iPad. Shortcuts for Ventura, however, doesn’t have that function. What gives? Never fear. Sparky figured out a way to duplicate the feature using AppleScript…

This is a post for MacSparky Labs Level 3 (Early Access) and Level 2 (Backstage) Members only. Care to join? Or perhaps do you need to sign in?

The post Using AppleScript to Open a Specific Mailbox in Apple Mail (MacSparky Labs) appeared first on MacSparky.

]]>
Keyboard Maestro 10.1 https://www.macsparky.com/blog/2022/05/keyboard-maestro-10-1/ Thu, 19 May 2022 23:00:28 +0000 https://www.macsparky.com/?p=12456 This week we got another nice update from Keyboard Maestro. This update includes a ton of new support for Shortcuts integration on the Mac. I’m so happy to see Keyboard Maestro setting itself up to be a platform where you can use it’s already powerful automation alongside anything Apple adds to Shortcuts. I’m in the... Continue reading

The post Keyboard Maestro 10.1 appeared first on MacSparky.

]]>
This week we got another nice update from Keyboard Maestro. This update includes a ton of new support for Shortcuts integration on the Mac. I’m so happy to see Keyboard Maestro setting itself up to be a platform where you can use it’s already powerful automation alongside anything Apple adds to Shortcuts.

I’m in the midst of building an update to the Keyboard Shortcuts Field Guide. This new Shortcuts integration just got added to the menu. You can read more about the update at the Keyboard Maestro website.

The post Keyboard Maestro 10.1 appeared first on MacSparky.

]]>
Creating OmniFocus Templates with Keyboard Maestro (MacSparky Labs) https://www.macsparky.com/blog/2022/05/creating-omnifocus-templates-with-keyboard-maestro-macsparky-labs/ Thu, 19 May 2022 00:37:10 +0000 https://www.macsparky.com/?p=12450 For a long time I’ve been adding OmniFocus template projects using Shortcuts. I have a few other automations that involve project creation with Keyboard Maestro, which got me thinking about adding templated OmniFocus projects via Keyboard Maestro… This is a post for MacSparky Labs Level 3 (Early Access) and Level 2 (Backstage) Members only. Care... Continue reading

The post Creating OmniFocus Templates with Keyboard Maestro (MacSparky Labs) appeared first on MacSparky.

]]>
For a long time I’ve been adding OmniFocus template projects using Shortcuts. I have a few other automations that involve project creation with Keyboard Maestro, which got me thinking about adding templated OmniFocus projects via Keyboard Maestro…

This is a post for MacSparky Labs Level 3 (Early Access) and Level 2 (Backstage) Members only. Care to join? Or perhaps do you need to sign in?

The post Creating OmniFocus Templates with Keyboard Maestro (MacSparky Labs) appeared first on MacSparky.

]]>
Running a Shortcut from a Keyboard Maestro Script https://www.macsparky.com/blog/2022/03/running-a-shortcut-from-a-keyboard-maestro-script/ Fri, 04 Mar 2022 15:00:00 +0000 https://www.macsparky.com/?p=11870 Recently, I’ve had several nerd friends ask me about kicking off a Shortcut from a Keyboard Maestro script. You can do that using the Execute AppleScript action with the following text inside: You’d need to replace “Shortcut Name” with the actual Shortcut name, while retaining the quotes. That is all it takes to launch a... Continue reading

The post Running a Shortcut from a Keyboard Maestro Script appeared first on MacSparky.

]]>
Recently, I’ve had several nerd friends ask me about kicking off a Shortcut from a Keyboard Maestro script. You can do that using the Execute AppleScript action with the following text inside:

tell application "Shortcuts Events"
run the shortcut "Shortcut Name"
end tell

You’d need to replace “Shortcut Name” with the actual Shortcut name, while retaining the quotes. That is all it takes to launch a Shortcut from Keyboard Maestro.

Want to get better at Keyboard Maestro? I have something for you.

The post Running a Shortcut from a Keyboard Maestro Script appeared first on MacSparky.

]]>