The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   How to "Clean-Up" (Command-K) in applescript (http://forums.omnigroup.com/showthread.php?t=7032)

umop 2008-02-02 02:59 PM

How to "Clean-Up" (Command-K) in applescript
 
Title says it all. I haven't been able to find this in the dictionary. I'd like this to run after my command. Any help?

Thanks,
Eric

RobTrew 2008-02-02 03:09 PM

[CODE]tell application "OmniFocus"
compact front document
end tell[/CODE]

umop 2008-02-02 06:23 PM

Aha -- I was doing it wrong.

tell application "OmniFocus" to tell front document
compact
(* Should have been *)
compact it
end tell

Thanks!
Eric


All times are GMT -8. The time now is 01:48 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.