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

 
changing project status with a keyboard shortcut Thread Tools Search this Thread Display Modes
Are there any keyboard shortcuts to change the status of a project from say "Active" to "On Hold"?
 
Nope. I asked for them two years ago. OG #234058.

I tried using the system's Keyboard Shortcuts to assign a keystroke to the menu, but that failed too, because OF has multiple menus with the same name. So assigning, say "command-control-c" to "Completed" changes the Project Filter to show only "Completed" items rather than choosing Edit > Status > Completed.

(I filed this as a bug too, but can't find the number.)
 
You can always use something like Quicksilver to assign keystrokes to applescripts of the following general pattern:

Code:
on run
	tell application "OmniFocus"
		tell front window
			set lstTrees to selected trees of sidebar
			if (count of lstTrees) < 1 then return
		end tell
		
		repeat with oTree in lstTrees
			set oValue to value of oTree
			if class of oValue is project then
				set status of oValue to on hold
				-- OR
				-- set status of oValue to done
				-- set status of oValue to dropped
				-- set status of oValue to active
			end if
		end repeat
	end tell
end run
 
Thanks for the thoughts, I'm afraid your solution is a little beyond me RobTrew. I know quicksilver is cool, but it's something I haven't delved that deeply into. Too bad about now key commands for this .
 
Still nothing?
 
You can easily assign a keystroke to a script using FastScripts, which is free for up to 10 keyboard shortcuts.

This script, for example, toggles the currently selected projects back and forth between active and on hold.

Code:
tell application id "OFOC"
	tell (selected trees where class of value is project) of sidebar of front window
		if (count) > 0 then
			if (status of value of first item) ≠ on hold then
				set status of value to on hold
			else
				set status of value to active
			end if
		end if
	end tell
end tell
--

Last edited by RobTrew; 2011-06-01 at 07:39 AM..
 
Thanks Rob!

Still, I think something like this should be built-in in OF, as it is a very useful keyboard shortcut.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a keyboard shortcut to put a project On Hold jka33331 OmniFocus 1 for Mac 9 2013-04-10 06:23 AM
keyboard shortcut for changing task type in omniplan treeflute OmniPlan General 2 2013-01-11 12:22 AM
Keyboard shortcut to jump to a particular project? ecf OmniFocus 1 for Mac 6 2011-07-06 03:09 PM
Keyboard shortcut for completing a project SpiralOcean OmniFocus 1 for Mac 0 2007-09-30 06:40 PM
Is there a keyboard shortcut to switch between the two outlines in project view? MattArmstrong OmniFocus 1 for Mac 11 2007-09-05 04:20 PM


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


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