I have a script which toggles a tag Active vs On Hold, but the changes don’t always take effect until I run Clean Up. However, I can’t find a way to automate running that. Is there a way to do that?
compact might be what you’re looking for. For example:
tell application "OmniFocus" tell default document compact end tell end tell
That’s exactly what I needed! Thanks!