View Single Post
Well, i took the plunge and had a go at writing an Applescript to use with Hazel myself. Although, when I say write, i actually mean 'steal bits and pieces from other scripts'. Some of the code is appropriated from Curt's 'Send Safari URL to OF' script. Thanks/sorry.

Here's the basics about how to use it:

#1 - Install Hazel (a cool piece of software that monitors folders and applies rules to the contents)

#2 - Make an applescript that includes something like the following code:

Code:
property actionPrefix : "Read "

my hazelProcessFile(leFiche)

on hazelProcessFile(leFiche)
	
	tell application "Finder"
		
		set theName to the displayed name of leFiche
		
		set theLink to the URL of leFiche
		
	end tell
	
	tell front document of application "OmniFocus"
		make new inbox task with properties {name:(actionPrefix & theName), note:theLink}
	end tell
	
	
end hazelProcessFile
#3 - create a 'drop folder' of some description, and apply a Hazel rule to it that runs your applescript

That's it. It gives OF the feel of the kind of paper based system that David Allen described.

Other random ideas for the future:

- Assigning a context based on the drop folder's name
- Some way of deleting or moving files based on their associated task's completion status

Last edited by markbrown00; 2007-07-27 at 02:50 PM..