This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
token:ActionResult [2016/07/20 20:07] JMichaelTX |
token:ActionResult [2016/07/20 20:08] JMichaelTX |
||
---|---|---|---|
Line 12: | Line 12: | ||
Note that this value is reset at the end of every action, so immediately after the Action, you must save the //%ActionResult%// token [[action:Set_Variable_to_Text|into a variable]], or use it in a control flow action, like a [[action:If_Then_Else|If/Then Action]]. | Note that this value is reset at the end of every action, so immediately after the Action, you must save the //%ActionResult%// token [[action:Set_Variable_to_Text|into a variable]], or use it in a control flow action, like a [[action:If_Then_Else|If/Then Action]]. | ||
- | You can use this token for error handling, much like a traditional try/error/on error construct. But you have to build your own test immediately after the action. Keyboard Maestro will **not** throw an error in most cases. | + | You can use this token for error handling, much like a traditional try/catch/on error construct. But you have to build your own test immediately after the action. Keyboard Maestro will **not** throw an error in most cases. |
===== Examples ===== | ===== Examples ===== |