Browse the docs

mailWasForwarded

Returns 1 when the selected message has been forwarded, otherwise 0.

Keyboard Maestro: MAILWASFORWARDED

Details #

mailWasForwarded() takes no arguments and returns a number: 1 when the selected message has been forwarded, otherwise 0.

Parameters #

Takes 0 arguments. {{ mailWasForwarded() }}

Examples #

mailWasForwarded()
→ 0

Gotchas #

  • Needs Automation permission for Mail. It reads the first selected message in Mail; when Mail isn't running, nothing is selected or Mail doesn't answer within about 5 seconds, the answer is 0.

  • Takes no arguments.