The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Document version from AppleScript Thread Tools Search this Thread Display Modes
Hi

Now that I have my tasks to iCal events script running every hour, it occurs to me that I could avoid traversing all tasks if nothing has changed since the last time.

I guess that with all the sync code that there is the concept of current version for the document. Is there any access to this via AppleScript?

Cheers

Duncan McGregor
 
As far as I can see, the modified property of an Omnifocus 'document' (really a database) always seems to return false

Code:
tell application "OmniFocus"
	display dialog (modified of default document) as string
end tell

Last edited by RobTrew; 2009-07-16 at 12:46 PM..
 
I'm guessing that's on account of changes being automatically saved. I could look at the last modified on the db file I suppose.
 
Quote:
Originally Posted by dmcg View Post
I could look at the last modified on the db file I suppose.
Possibly - but remember that OmniFocus.ofocus is not really a 'file' - it's a package folder containing potentially thousands of different files.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant close an Omnigraffle trial version document - help amuri OmniGraffle General 2 2012-01-26 11:59 AM
applescript dictionary version jamesafoster OmniFocus Extras 1 2009-10-29 02:46 AM
Showing/Hiding a notes layer across document using Applescript Andrew N OmniGraffle General 8 2008-12-09 01:31 PM
Export issue / Modify the selection in a Document via AppleScript / Scripting Bridge Scifer_2008 OmniGraffle General 0 2008-10-08 07:06 AM
Show document in a new window via applescript... 0mni0ne OmniGraffle General 0 2008-08-20 11:56 PM


All times are GMT -8. The time now is 12:41 PM.


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