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 > OmniOutliner > OmniOutliner 3 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Script to convert OmniOutliner row to OmniFocus Action Thread Tools Search this Thread Display Modes
Because the Clip-o-tron is whacked in Omnifocus (puts the name of the file in the action), I wrote this applescript to take a list of selected rows in OO and convert each one to an action in OmniFocus's quick entry window.

I've not tested it much, but maybe it's a help to others and a starting place for more scripting on this.


Code:
tell front document of application "OmniOutliner Professional"
	-- set theDoc to front document
	--set columnCount to count of columns of theDoc
	
	set theList to the selected rows
	set theCount to (count of selected rows)
	if theCount < 1 then
		display dialog "You need to select at least one row to use this script." buttons "Cancel" default button "Cancel"
	end if
	
	-- go through each selected row in OmniOutliner and then create a corresponding
	-- action in the quick entry box of OF
	
	set actionText to ""
	repeat with i from 1 to theCount
		
		
		set actionText to (get topic of item i of selected rows)
		
		-- create a new action in Omnifocus QuickEntry window
		
		tell application "OmniFocus"
			-- create new action
			tell quick entry
				open
				set NewTask to make new inbox task with properties {name:actionText}
			end tell
		end tell
	end repeat
end tell
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script: custom OmniFocus action lists on the desktop, using Geektool RobTrew OmniFocus Extras 79 2014-01-09 10:48 AM
Searching for script to convert project-based perspective to context one vitvit2002 OmniFocus Extras 0 2013-02-04 12:58 AM
Is there a way to convert Action<->Project? peterlemer OmniFocus 1 for Mac 16 2012-12-19 07:41 AM
OmniFocus to OmniOutliner Time Tracker script deviantintegral OmniFocus Extras 2 2010-01-05 10:15 AM
OmniOutliner "Send to OmniFocus" Script curt.clifton OmniFocus 1 for Mac 4 2007-06-20 07:04 PM


All times are GMT -8. The time now is 12:58 AM.


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