Last active
August 29, 2015 14:10
-
-
Save bradwright/323a1198d27b98feef63 to your computer and use it in GitHub Desktop.
Clear the flagged state of all available tasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Unflag every available task in every context (it has to be assigned a context) | |
tell application "OmniFocus" | |
tell default document | |
set flagged of (every available task of every flattened context whose flagged is true) to false | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment