mailJunkStatus
Returns 1 when the selected message is marked as junk, otherwise 0.
Keyboard Maestro: MAILJUNKSTATUS
Details #
mailJunkStatus() takes no arguments and returns a number: 1 when the selected message is marked as junk, otherwise 0.
Parameters #
Takes 0 arguments.
{{ mailJunkStatus() }}
Examples #
mailJunkStatus()→
0Gotchas #
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.