Run NSAppleScript

This action allows you to run AppleScript internally using NSAppleScript. Enter the AppleScript you require, using q as the passed in query.

AppleScript Action Sheet

You can cache compiled scripts using the "Cache compiled AppleScript", which will give faster performance but may use a small amount of extra memory.

Note that while this action can be faster than the Run Script using osascript, especially if using the compiled option, that it can block execution of Alfred. With this in mind, only use it for very fast, non-blocking scripts.

Latest Blog Post:

Alfred 3.7 Released: macOS 10.14 Mojave Support

CacheFly Campaign Monitor

"Alfred" is a registered trademark of Running with Crayons Ltd. ©2018 Running with Crayons Ltd. All rights reserved.

Terms & Conditions, Privacy Policy, Cookies.