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

 
Change in OF Scripting Interface Thread Tools Search this Thread Display Modes
A recent build changed the OmniFocus AppleScript dictionary in a backward-incompatible way.

Scripts that traverse trees and extract values are broken. So far, it appears that the "value" property on trees changed somehow.

I'll post updated scripts as soon as I am able, but it won't be immediately.
__________________
Cheers,

Curt
 
Bah; silly AppleScript. This is probably because I added the style scripting support (which has 'value' terminology). Our tree scripting support has 'value' too, but I forgot to align the 4-character codes, so AppleScript is probably confused.

This will still mean compiled scripts will be incompatible, non-compiled .applescript files will be more robust in the face of changes like this.
 
OK, I was temporarily confused by a svn conflict in my home working directory =)

'value' on 'tree' has changed to use the 4-character code 'valL' (which is what System Events uses) to match what the style scripting uses (since I *did* notice the re-used terminology before publishing this batch of changes).

But yes, this will break compiled scripts -- sorry for the trouble!
 
Thanks for the confirmation, Tim.
__________________
Cheers,

Curt
 
The problems with my scripts are fixed. Updates available here.
__________________
Cheers,

Curt
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with scripting Sophie OmniGraffle Extras 3 2013-08-28 03:07 PM
Change my brain or change how I use omnifocus? rdbot Applying OmniFocus 22 2013-04-08 09:21 AM
Help about OO3 scripting agostinocirillo OmniOutliner 3 for Mac 1 2012-11-14 05:58 AM
Change Page Setup params through AppleScript GUI Scripting for OmniGraffle 5 coswald007 AppleScripting Omni Apps 1 2011-10-13 04:43 AM
Web Interface Port Change alexspeller OmniFocus 1 for Mac 7 2007-07-25 10:02 AM


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


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