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

 
Keyboard shortcut for strikethrough formatting? Thread Tools Search this Thread Display Modes
Hi there,

it seems to me that quick strikethrough formatting has been on peoples' wishlist for many years but still hasn't been implemented. See:
http://forums.omnigroup.com/showthre...=strikethrough
http://forums.omnigroup.com/showthre...=strikethrough

I'm puzzled to find an entry in the Format menu for contour / outline formatting (Who actually uses that?) but none for strikethrough formatting. Anyway, I'm trying to close this gap on my own via AppleScript. I already got my hopes up, first after skimming through OO's AppleScript dictionary and a second time after reading this thread: http://forums.omnigroup.com/showthread.php?t=22100

Unfortunately, I'm not sure how I could adapt that code to apply it on the current selection. Would I need to create an system-wide Automator service?

Any help would be greatly appreciated.
 
Quote:
Originally Posted by Ashcroft View Post
I'm not sure how I could adapt that code to apply it on the current selection.
I hope someone will correct me if I'm overlooking something, but I don't think that the OO3 Applescript library gives us access to the selected text within a cell.

(Applying a strikethrough to the entire cell – topic of a row, for example - is less difficult).

You might be able to construct a Keyboard Maestro macro which could navigate its way through the Inspector dialogs (by recognising icons and placing well-aimed and well-timed clicks), and thereby apply a strikethrough to the current selection, but I'm not sure it would be very fast … (bordering on Heath Robinson territory, but possibly diverting …)

Others may spot a smarter route …

--

Last edited by RobTrew; 2012-10-17 at 12:41 PM..
 
Quote:
Originally Posted by Ashcroft View Post
Hi there,

it seems to me that quick strikethrough formatting has been on peoples' wishlist for many years but still hasn't been implemented. See:
http://forums.omnigroup.com/showthre...=strikethrough
http://forums.omnigroup.com/showthre...=strikethrough

I'm puzzled to find an entry in the Format menu for contour / outline formatting (Who actually uses that?) but none for strikethrough formatting. Anyway, I'm trying to close this gap on my own via AppleScript. I already got my hopes up, first after skimming through OO's AppleScript dictionary and a second time after reading this thread: http://forums.omnigroup.com/showthread.php?t=22100

Unfortunately, I'm not sure how I could adapt that code to apply it on the current selection. Would I need to create an system-wide Automator service?

Any help would be greatly appreciated.
Are you just looking for a way to apply strikethrough? Not have keyboard access to different style options of strikethrough? The easiest option would be to create a named style for it and apply it using the keyboard shortcut for those, either the function keys or control + number (setting in prefs).

Created named styles is only available with the Pro version.

Last edited by DerekM; 2012-10-17 at 12:52 PM..
 
Thanks for your help so far, guys!

I've created a name style. Applying it with Ctrl-4 or F4 works fine.

Now I'm trying to remap this action to my favorite hotkey (Cmd-Y) with Keyboard Maestro. Although KM executes the macro just fine, OO doesn't seem to react to the simulated keystroke (which is strange because it does so in other Keyboard Maestro macros. For instance, I can switch the sidebar with F9 which tells KM to simulate Cmd-Ctrl-T).

Any ideas?

(By the way, if there's no solution to this, I wouldn't mind going back to the AppleScript approach. If I can't access selections but only entire cells, that's alright with me. GUI-Scripting the font inspector is out of the question though, because that seems too unreliable.)

Last edited by Ashcroft; 2012-10-18 at 11:40 PM..
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Keyboard Shortcut acollins OmniFocus 1 for Mac 1 2013-03-13 09:38 PM
Keyboard Shortcut chriswitt OmniFocus 1 for Mac 2 2013-01-14 12:12 PM
Search all keyboard shortcut? CrisB OmniFocus 1 for Mac 2 2012-06-14 03:47 PM
Keyboard shortcut? Jody Severson OmniOutliner 3 for Mac 1 2008-05-29 09:43 AM
Keyboard shortcut for Clean Up Chris OmniFocus 1 for Mac 2 2008-05-08 09:05 AM


All times are GMT -8. The time now is 10:23 PM.


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