Finding acceptable keyboard shortcuts

I very recently had a similar problem on Mac, El Capitan.

See this thread from last night:

The key is NOT to press the Enter key after assigning a shortcut. Just click somewhere else

If I remember correctly on a mac you don’t hit enter after typing the key you want, just click somewhere else. I think from memory it thinks you want to use the Enter Key and you obviously can’t do that.

Edit: simultaneous post. Oh, Snap. I guess I did remember correctly.

I just knew this was going to be something mortifyingly and embarrassingly obvious because I have assigned shortcuts in the past without difficulties. I just could’t remember what it was different I had been doing. :o(

Yes. Click elsewhere does the trick. Problem solved thanks.

Box. See reply to John. Thanks to you both.

to clarify something I touched on in the other thread…

you can set Ctrl + Alt + key shortcuts, but it isn’t obvious because the ⌃ is hidden until you release all the keys…

I also said that ‘generally’ input boxes require a ‘Return’ and/or ‘clicking out’, I should have clarified the this is an ‘or’ situation, as ‘Return’ clears the input…

I hope this gif helps…

john

Your written instructions were already admirably clear. Clicking out does the trick perfectly. I now have all my shortcuts happily in place.

Thanks for the trouble John.

Well, let’s teach ya’ something now. Open the Ruby console from the Window menu.

Type the command

puts Sketchup::get_shortcuts

in the input bar at the bottom and hit ENTER.

A listing of all shortcuts (as set) will be output. You can hilight select the list and copy it to some text editor if you’d like to save it (make your own Reference card, etc.)

furthering on from @DanRathbun

you can have them all as screen text while you learn them…

def format(ary)
first = []
second = []
    ary.each do |sc|
    pair   = sc.split("\t")
    first  << pair[1].gsub(/(.+\/)/, '')
    second << pair[0]
  end
[first.join("\n"),second.join("\n")]
end

note = format(Sketchup::get_shortcuts)

Sketchup.active_model.add_note(note[1],0.22,0.02)
Sketchup.active_model.add_note(note[0],0.02,0.02)

you could save a second Template just for practicing…

john

Well … Yes … and No … Dan.

First, thanks for the lesson. My first baby steps … :o)

It does produce a list but a very short and very incomplete one. Trolling through the menus there are dozens of shortcuts there that this Ruby function does not list. All the shortcuts prefaced with the Cmd Key for example.

I can’t help feeling that this isn’t terribly well implemented or documented in Sketchup. In researching this subject before I posted my query I found a surprising number of posts from people unable to find a listing. I would have thought this was something that Sketchup should publish in an easily accessible form. I do think there should be a better way of discovering the shortcuts than going the menus and sub menus one by one and writing them down. It seems to me such a basic requirement.

I also discovered that the menu items offered in the customisation menu are incomplete. For example I can use a standard Sketchup shortcut to create groups. I would like a complimentary shortcut to explode them when needed. So I went into the shortcut dialogue in Preferences to create one. It’s not on offer to create. I can’t. I don’t understand why Sketchup offers the possibility to create shortcuts to some menu items but not others.

I now have most of my desired personal shortcuts happily set up and this a very minor moan, but it all feels as if it could be far better implemented.

Yes very neat John. Thanks for the suggestion. But see my reply to Dan above. The list is way from complete. Its a great idea but with such an incomplete listing not terribly useful …

Pity …

you can get them, I helped TIG find them for the SCF StortCuts Plugin…

it’s missing the Cmd symbol, but lists the keys…

I’ll see if I can dig out the code to combine…

EDIT: the other missing ones in SU Prefs need a selection before you see them in there…

so select a group and all the missing group options show up…

john

I’ll see if I can dig out the code to combine…

There’s no need for me John. I now have found all the ones I need.

EDIT: the other missing ones in SU Prefs need a selection before you see them in there…

so select a group and all the missing group options show up…

Ah. Thank you for that! I will go play. Strangely that underlines a little bit my earlier comments about implementation. It’s a pity that Sketchup’s knowledge base article on creating shortcuts makes no mention of this at all. It really would be helpful. It took you exactly two short sentences to explain. It shouldn’t be too onerous to include them in the official instructions.

Sorry if I sound churlish. I really don’t mean to. I love this app and have used it almost since it’s very inception at a surface level and, many years ago, introduced my architect to it. I now have a project where I am really having to get to grips with it in far more depth and as always it is the tiny, tiny avoidable niggles that are the most annoying. :o))

@jody

Re: SketchUp User Guide: Customizing Your Keyboard and Mouse

On OS X, the shortcuts that appear in the base menus are compiled into the app when its GUI is made. They do not appear on the user-editable preferences list and cannot be modified without hacking the GUI. Also, you can’t assign any user-provided shortcuts that start with the command key. John found a way to include them in the list with the others, but because of these limitations they are on the list for info only.

Not quite what your trying to say here Dan.

The link you provide points to precisely the Knowledge Base article I was referring to. Unless I am mistaken It makes no mention of the fact that certain shortcuts require an image selection to be made before become visible and can be edited. I really don’t want to be negative or unappreciative of a great app. But we all have our weaknesses and I think in this particular instance this article is a fails to properly explain the basics of how to use one of Sketchup’s features.

I seem inadvertently to be stirring a hornets nest. I really don’t want to. I was simply seeking clarification.

@david_macd, he’s just letting one of the staff [who looks after Help] know of the issue…

adding an @ e,g, @Dan means he’ll get a green circle to ‘ping’ his attention…

john

1 Like

Thanks for that explanation. That’s extremely clear.

Truth is I didn’t want to change existing shortcuts neither did I necessarily want to create shortcuts prefaced by the Cmd key. I simply wanted to know what are the limitations and requirements for the creation on of custom keys since, in my opinion, this is poorly documented and, despite careful research of other forum topics, I was unable to find an answer without posing the question here.

Thanks to posts like yours, and John’s and Dan’s a clear picture is emerging.

Now I am simply asking should that be necessary if shortcuts were a little more adequately documented in the first place.

Once again my apologies if I am grasping the wrong end of the stick here.

he’s just letting one of the staff [who looks after Help] know of the issue…

Oh dear. How embarrassing. It seems forums need as much experience as the app itself. :o(

Thank you John for straightening me out and slbaumgartner for explaining things so patiently and Dan for moving this up the line.

Now I shall retire, curl up, and try to catch my own tail. :o))

David Mac

in case anyone wants them, these are the hardcode ones that don’t show in Preferences…
####SketchUp
⌘H…Hide SketchUp
⌥⌘H…Hide Others
⌘Q…Quit SketchUp
####File
⌘N…New
⌘O…Open…
⌘W…Close
⌘S…Save
⇧⌘S…Save As…
⇧⌘P…Page Setup…
⌘P…Print…
####Edit
⌘Z…Undo
⇧⌘Z…Redo
⌘X…Cut
⌘C…Copy
⌘V…Paste
⌘A…Select All
⇧⌘A…Select None
⌘E…Hide
⇧⌘E…All
⇧⌘G…Make Component…
⌘G…Make Group
⇧⌘G…Close Group/Component
####Draw
⌘L…Line
⌘F…Freehand
⌘J…Arc
⌘K…Rectangle
####Camera
⌘1…Top
⌘2…Bottom
⌘3…Front
⌘4…Back
⌘5…Left
⌘6…Right
⌘7…Iso
⌘B…Orbit
⌘R…Pan
####Tools
⌘0…Move
⌘8…Rotate
⌘9…Scale
⌘D…Tape Measure
⌘F…Axes
⌘Y…Section Plane
####Window
⌘M…Minimize
⇧⌘I…Model Info
⌘I…Entity Info
⇧⌘C…Materials
⌘T…Show Fonts

john

4 Likes

John.

This is great! Thank you.

I had discovered most of these simply by going through the menus and writing them down. But I suspect there will be plenty of users happy to have this if they come looking in the forums. I think it is really useful.

@jody Dan may I respectfully suggest that these go upstairs to the Help file writers along with the earlier comments on this subject. The inclusion of these as a downloadable PDF in the shortcuts Help article should not really not be too onerous and, on the basis of the frustrated searches I came across while researching this topic before bothering you all with a post, I think it would be genuinely welcome.

Thank you all again. This the third time recently this forum’s positive attitude has helped me.

It’s so good to see.

David Mac