The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   routine to process inbox items (http://forums.omnigroup.com/showthread.php?t=12541)

luminosity 2010-10-15 12:32 PM

Nice
 
Hi Rob,
I gather all these things are coded in Apple Script, correct?
Since I am now an Apple convert, would you or anyone else reading this, have any suggestions about the best way to start dipping my toes into the world of Apple Script programming? I use to do a bit of stuff in VBScript, mostly for complex Excel spreadsheets, on Windows. So I figure I could start learning a bit about Apple Script. It looks relatively logical and easy to follow as opposed to some code languages I've seen.

Anyway... back to your post:
I will try out this script, with the modification you have suggested.

[QUOTE]It could also be adjusted to create any assumed folders and contexts where necessary, etc etc [/QUOTE]
If I was to have a crack at doing this, is there a document from Omnigroup that includes all the necessary terms related to OF? Such as the variables you have mentioned in your modifications... contextidlist, refProjects, etc.

Much thanks,

S

RobTrew 2010-10-16 01:51 AM

The trick, I think, lies in a conversation between exploring the application object model (Applescript Editor > File > Open Dictionary) and becoming familiar with the basics of the scripting language.

For Applescript, I like Matt Neuburg's [URL="http://oreilly.com/catalog/9780596005573"]Definitive Guide[/URL], though it is now long in the tooth. (Apple's [URL="http://developer.apple.com/library/mac/search/?q=applescript"]own on-line documentation[/URL] is, of course, more up to date).

(Applescript is a quirky language, a bit underpowered, and Matt Neuburg himself has now [URL="http://oreilly.com/pub/a/mac/2007/02/27/replacing-applescript-with-ruby.html"]moved on[/URL] to using Ruby and [URL="http://www.apeth.com/rbappscript/00intro.html"]rb-appscript[/URL] ... )

But probably good to get some familiarity with Applescript first ...

Good luck !

[COLOR="White"]--[/COLOR]


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

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