Run NSAppleScript
This action allows you to run AppleScript internally using NSAppleScript. Enter the AppleScript you require, using q as the passed in query.
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.