User Tools

Site Tools


token:ActionResult

**This is an old revision of the document!**

ActionResult Token

Value Returned

The %ActionResult% token returns text indicating the success or failure of the immediate past action.

  • If Successful, Then “OK” is returned.
  • Otherwise, a message describing the reason for failure is returned.

How To Use

Note that this value is reset at the end of every action, so you must immediately text it or save it into a variable if you wish to preserve it.

Examples

Example #1

  • Action that Might Fail
    • You may need to disable (uncheck) the Action Option for “Timeout Aborts Macro”
    • You may want to change the timeout interval in the Option for “Set Action Timeout…”
  • Set Variable “Reason” to text %ActionResult%

Example #2

  • Action that Might Fail
  • If Text %ActionResult% is “Whatever”

Example #3

Test if the Copy Action failed due to timeout (likely due to no selection)

token/ActionResult.1466637336.txt.gz · Last modified: 2016/06/22 19:15 by JMichaelTX