Keyboard shortcut for toggling sequential/parallel?
Is there a keyboard shortcut for switching a project's type between sequential and parallel? This would save me a trip to the mouse. Thanks!
|
Unfortunately, I don't think so, at least not that I know of. But there should be. It's something I've been secretly wishing for a long time. :-)
-Dennis |
Cool, thanks for verifying that. Let's keep our fingers crossed for something like command-option-' as toggling project "type".
|
You can use [URL="http://forums.omnigroup.com/showthread.php?t=3734"]Help --> Send Feedback[/URL] to submit feature requests.
|
Can't you bind an applescript to a keyboard shortcut with the Keyboard & Mouse preferences? If so, you could use this script:
[code] (* This script toggles the sequential/parallel nature of the selected projects. Derived from Clear "Missing NA" Suffixes and Mark Completed by Curt Clifton Copyright © 2007, Curtis Clifton All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *) tell application "OmniFocus" tell front document tell document window 1 set theSelectedItems to value of selected trees of content repeat with anItem in theSelectedItems tell anItem set oldSequential to sequential if class of it is project then set sequential to not oldSequential end if end tell end repeat end tell end tell end tell [/code] Curt, don't you need to update that copyright date? |
[QUOTE=whpalmer4;63898]Can't you bind an applescript to a keyboard shortcut with the Keyboard & Mouse preferences?[/QUOTE]
Unfortunately, I don't think the Keyboard & Mouse preferences can assign keyboard shortcuts to items in the Scripts menu (c'mon Apple, help us out here!). However, a third party utility like [URL="http://www.red-sweater.com/fastscripts/"]FastScripts[/URL] would probably do the trick. -Dennis |
I use, and highly recommend, FastScripts myself but it is possible to assign shortcuts to scripts using the Keyboard & Mouse preferences. If one enables the 'Show Scripts menu in menu bar' option in the AppleScript Utility, then those menu items (scripts) can be assigned a shortcut with Keyboard & Mouse.
Also, in addition to FastScripts any utility such as LanuchBar, Quicksilver, Butler, QuicKeys, etc., can assign a trigger to a script. I believe every Mac user really should have one, or more, of the above-mentioned utilities. |
[QUOTE=Greg Jones;63922]If one enables the 'Show Scripts menu in menu bar' option in the AppleScript Utility, then those menu items (scripts) can be assigned a shortcut with Keyboard & Mouse.[/QUOTE]
Really? I have the Scripts menu enabled but I could have sworn I tried assigning keyboard shortcuts before and it didn't work. I'll have to try again. Thanks, Greg! -Dennis |
[QUOTE=whpalmer4;63898]
Curt, don't you need to update that copyright date?[/QUOTE] I live in Indiana. It's not 2009 here yet. :-) |
[QUOTE=curt.clifton;63930]I live in Indiana. It's not 2009 here yet. :-)[/QUOTE]
And pi is still a nice round value of 3, right? :-) |
All times are GMT -8. The time now is 04:07 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.