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 Today's Posts

 
OmniFocus URI Handler (create tasks via URL) [See Omni note on pg 5!] Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Just a quick update. I changed the makeInboxTask function, a bit of a sloppily re-write, but it now works with a project:

Code:
on makeInboxTask(theName, theProject, theContext, theNote)
	tell application "OmniFocus" to tell default document
		set theTask to make new inbox task with properties {name:theName}
		if theNote is not missing value then set note of theTask to theNote
		if theContext is not missing value then set context of theTask to theContext
		
		if theProject is not missing value then
			set theProject to project theProject
			set assigned container of theTask to theProject
			compact
		end if
	end tell
end makeInboxTask
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to BCC tasks to Omnifocus [A: use Omni Sync Server's "Mail Drop" feature.] isadore.braun OmniFocus 1 for Mac 1 2013-03-20 01:56 PM
Please take note Omni Group! Deedubau OmniFocus for iPhone 3 2012-10-16 11:54 AM
Script to locate tasks with a certain date in a note daltongreen OmniFocus Extras 4 2011-01-20 10:07 AM
Please add some type of note indicator to tasks oschultz OmniFocus for iPhone 5 2009-05-12 05:08 PM
Tasks failure (The Apple Event Handler Failed) wycats OmniFocus Extras 1 2007-11-23 09:04 PM


All times are GMT -8. The time now is 01:05 AM.


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