Create a Keyboard Shortcut to Insert a Horisontal Line

User avatar
Shunyata
Posts: 17
Joined: Wed May 20, 2015 12:27 pm
Platform: Mac
Location: Bali
Contact:

Sat Dec 09, 2017 1:25 am Post

I understand how to create Keyboard Shortcuts for actions that are already wired into Scrivener like Paste and Match Style for example.

However, I'd like to create a Keyboard Shortcut to insert a Horizontal Line/Page-Spanning Line.

Is this possible? If so, please advise how to do it.

Thanks

User avatar
nontroppo
Posts: 1170
Joined: Mon Mar 05, 2007 5:22 pm
Platform: Mac
Location: Airstrip One

Sat Dec 09, 2017 2:13 am Post

It is in the menu in both Scriv2 and Scriv3 so you can bind it to a keypress using systen preferences, just use ⌘⇧? and type line to find its name (there are three line options).
Screen Shot 2017-12-09 at 10.12.21_SML.png
Screen Shot 2017-12-09 at 10.12.21_SML.png (44.13 KiB) Viewed 2503 times

User avatar
Shunyata
Posts: 17
Joined: Wed May 20, 2015 12:27 pm
Platform: Mac
Location: Bali
Contact:

Sat Dec 09, 2017 3:23 am Post

Thanks, @notroppo, That will be great to know once I get it working.

I must be doing something wrong because I can't enter the 'Command Shift ?' in the system prefs box.
Keyboard Shortcut.png
Keyboard Shortcut.png (82.38 KiB) Viewed 2501 times


Could you clarify exactly where I need to enter the 'Command Shift ?' sequence to pop up view of all the wired in keyboard commands?

User avatar
nontroppo
Posts: 1170
Joined: Mon Mar 05, 2007 5:22 pm
Platform: Mac
Location: Airstrip One

Sat Dec 09, 2017 3:43 am Post

Sorry the ⌘⇧? is only to search in the Scrivener menu's to find the specific menu name you need (it must be an iten not a parent menu name). THEN you take that name (here we choose Page-Spanning Line) and use it to create a setting in System Prefs:
Screen Shot 2017-12-09 at 11.45.09_SML.png
Screen Shot 2017-12-09 at 11.45.09_SML.png (12.83 KiB) Viewed 2498 times


Which then available for use in Scrivener:
Screen Shot 2017-12-09 at 11.42.06_SML.png
Screen Shot 2017-12-09 at 11.42.06_SML.png (14.49 KiB) Viewed 2499 times

User avatar
Shunyata
Posts: 17
Joined: Wed May 20, 2015 12:27 pm
Platform: Mac
Location: Bali
Contact:

Sat Dec 09, 2017 3:53 am Post

Thanks so much— that did the trick!

Do you know of the a place where we can see all of the keyword commands that are wired into Scrivener?

User avatar
nontroppo
Posts: 1170
Joined: Mon Mar 05, 2007 5:22 pm
Platform: Mac
Location: Airstrip One

Sat Dec 09, 2017 5:08 am Post

Appendix §7 of the user manual, though it includes descriptions of what commands do so isn't really a simple "cheat sheet" style. There are some cheat sheets for Scrivener (google for them), or you can use software like KeyCue which generates a cheat sheet on the fly for any app:

http://www.ergonis.com/products/keycue/

And of course, ⌘⇧? is really helpful for natural language searching for these kinds of things...

Hu
Hugh
Posts: 2444
Joined: Thu Mar 08, 2007 12:05 pm
Platform: Mac
Location: UK

Sat Dec 09, 2017 9:31 am Post

nontroppo wrote:Appendix §7 of the user manual, though it includes descriptions of what commands do so isn't really a simple "cheat sheet" style. There are some cheat sheets for Scrivener (google for them), or you can use software like KeyCue which generates a cheat sheet on the fly for any app:

http://www.ergonis.com/products/keycue/

And of course, ⌘⇧? is really helpful for natural language searching for these kinds of things...


As a postscript to the above, I've used KeyCue for years. I believe that it may have at least one rival, but I've been very satisfied with it.
'Listen, some quiet night, when you've shirked your work that day. Do you hear
that distant, almost inaudible clicking sound? That's one of your
competitors, working away in the night in
Paris or London or Erie, PA.'

br
brookter
Posts: 1994
Joined: Wed Mar 18, 2009 12:22 pm
Platform: Mac

Sat Dec 09, 2017 10:26 am Post

I'll second that about KeyCue, Hugh.

It's particularly useful if you use Keyboard Maestro because it picks up all their macros as well.