Document version from AppleScript
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 [I]modified[/I] property of an Omnifocus 'document' (really a database) always seems to return [I]false[/I]
[CODE]tell application "OmniFocus" display dialog (modified of default document) as string end tell[/CODE] |
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=dmcg;62941]I could look at the last modified on the db file I suppose.[/QUOTE]
Possibly - but remember that OmniFocus.ofocus is not really a 'file' - it's a package folder containing potentially thousands of different files. |
All times are GMT -8. The time now is 01:31 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.