The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus 1 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=38)
-   -   Keyboard shortcut for toggling sequential/parallel? (http://forums.omnigroup.com/showthread.php?t=13260)

IntlOrange 2009-07-30 09:10 PM

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!

Toadling 2009-07-30 09:21 PM

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

IntlOrange 2009-07-30 09:32 PM

Cool, thanks for verifying that. Let's keep our fingers crossed for something like command-option-' as toggling project "type".

curt.clifton 2009-07-31 07:56 AM

You can use [URL="http://forums.omnigroup.com/showthread.php?t=3734"]Help --> Send Feedback[/URL] to submit feature requests.

whpalmer4 2009-07-31 03:24 PM

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?

Toadling 2009-07-31 03:40 PM

[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

Greg Jones 2009-08-01 03:18 AM

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.

Toadling 2009-08-01 08:08 AM

[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

curt.clifton 2009-08-01 08:31 AM

[QUOTE=whpalmer4;63898]
Curt, don't you need to update that copyright date?[/QUOTE]

I live in Indiana. It's not 2009 here yet. :-)

whpalmer4 2009-08-01 10:15 AM

[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 10:38 AM.

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