I was recently debugging one of my old shortcuts that integrated with macOS to get the name of the frontmost app using AppleScript and noticed that, at some point over the past two years, that script had stopped working. I tried fixing the AppleScript myself, but after five minutes spent trying random and outdated code...
Getting the Name of the Frontmost App on macOS Using Shortcuts
This Story is for Club Members
Get weekly newsletters, exclusive stories, member downloads, and ad-free version of MacStories Unwind.
Already a member? Sign in
Access Extra Content and Perks
Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.
What started with weekly and monthly email newsletters has blossomed into a family of memberships designed every MacStories fan.
Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;
Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;
Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.