How to tell if applescript succeeded?

I have an applescript that returns true or false. How can I tell if it returned true or false?

Hey Mike,

If you haven't read this then it's worth taking the time:

Tip: How Do I Get The Best Answer in the Shortest Time?

Your question has no context and therefore can't be answered without speculating, nevertheless I'll have a go at it.

I'm guessing you're wanting to transition from an AppleScript action with a boolean result to a another Keyboard Maestro action where you can test that result.

Here's an example of that:

Test AppleScript Boolean Output.kmmacros (5.6 KB)

-Chris

Chris thanks so much, you were right on the nose.

1 Like