The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘Keyboards and Keyboard Shortcuts’ Category

Windows 8 Windows-key shortcuts (via: Windows 8 productivity: Who moved my cheese?)

Posted by jpluimers on 2012/08/27

Brilliant post on using the Window-key for shortcuts with Windows 8 (all Windows 7 Windows-key shortcuts work, plus many more): Windows 8 productivity: Who moved my cheese? Oh, there it is. – Scott Hanselman.

–jeroen

Posted in Keyboards and Keyboard Shortcuts, Power User, Windows, Windows 7, Windows 8 | Leave a Comment »

#WordPress changed from Alt-Shift to Alt #keyboard #shortcuts and now breaks your regular browser Alt shortcuts. @wordpressdotcom

Posted by jpluimers on 2012/07/23

A couple of months ago, I created a nice post listing all #WordPress Editor #keyboard #shortcuts for both Windows and Mac OS X.

As of a few days ago, WordPress.com changed their Alt-Shift shortcuts into Alt shortcuts.

For instance, Alt-Shift-d (strike through) is now Alt-d, thereby blocking the original Alt-d (which for most browsers on Windows brings you to the address bar).

They violate one of the basic GUI principles: keep existing keyboard shortcuts as they are.

On Windows based browsers that means: keep Alt and Ctrl based shortcuts. Alt-Shift, Ctrl-Shift and Ctrl-Alt-Shift shortcuts are OK.

I haven’t tested WordPress on my MacBook air yet (as I don’t think the end-users should be the WordPress.com beta testers, though they probably think the world at large is a big beta-test garden).

I have asked WordPress.com to change the shortcuts back to what they were.

–jeroen

via: #WordPress Editor #keyboard #shortcuts « The Wiert Corner – irregular stream of Wiert stuff.

Posted in Keyboards and Keyboard Shortcuts, Power User, SocialMedia, WordPress | Leave a Comment »

Hollerith and why we have digraphs in Pascal and trigraphs in C/C++ (nostalgia, Apple ][ plus)

Posted by jpluimers on 2012/07/04

Apple ][ plus keyboardSome nostalgia (:

In the mid 80s, when programming in UCSD Pascal and Turbo Pascal, I learned that Pascal has (. and .) digraphs that translate into [ and ], similar to the (* and *) digraphs that translate to { and }.

In fact I thought the English word was bigraph (as bi- is a prefix for twice, just like tri- is a prefix for thirce).
The digraphs are lexical alternatives (Pascal ISO  standard 7185:1990 paragraph 6.1.9 or Extended Pascal ISO standard 10260:1990 paragraph 6.1.11). There is even one more: the @ at-sign is a lexical alternative for the ^ caret.

Back then (I was in my teens, there was no internet yet and school library had nothing on programming) I thought these were because keyboards like those of the Apple ][ plus couldn’t emit [ and ], but I was wrong: it was in fact the Hollerith Card Code that could not represent these characters.

That limitation was because of the first Pascal implementation was done on a CDC 6000 series that used punched card readers/writers.  You could not punch arbitrary numbers of holes on each row (lace cards lacked structural strength) limiting the character codes you can represent.

They still work in the Delphi compiler for arrays and for comments (I just learned that various Pascal implementations use different rules of mixing digraph and normal comments (some even allow nesting)).

While I taught myself C and C++ just as I taught myself Pascal, somehow I never learned that they use lexical alternatives too. It was only recently that they do, both as trigraphs and as of C99 also as digraphs and that there is even a trigraph tool as part of the C++ personality of RAD Studio 2007.

–jeroen

Posted in Apple, Apple ][, C++, Delphi, Development, History, Keyboards and Keyboard Shortcuts, Power User, Software Development | 1 Comment »

Visual Studio Smart Tag keyboard shortcuts: Ctrl-. and Shift+Alt-F10

Posted by jpluimers on 2012/07/04

I’m a keyboard fan, so recently I have put up a new Keyboards and Keyboard Shortcuts category and tried to add all old relevant posts to it (staying organized is time consuming, but in the end it pays back by being able to find back stuff faster).

At conferences, presentations, and clients people often wonder “how do you get to such-and-such IDE feature so quickly” and the answer usually is: be sure you know your keyboard shortcuts. Which isn’t easy, as documentation for them is often spread out, and to find the information: you have to know how the underlying actions are called.

A long time ago (I think it was in version 2005) Visual Studio introduced Smart Tags. Most posts talk only about one kind of Smart Tags, but the Visual Studio IDE has two kinds:

  • A tiny triangle in the designer
  • A combobox drop-down button like control in the code editor

Both listen to these keyboard shortcuts (most cheat sheets miss at least one of these, but you can find them at Pre-defined keyboard shortcuts and at the VS2008 C# keyboard cheatsheet):

  • Shift-Alt-F10
    The shortcut is called View.ShowSmartTag, View.ObjectBrowserGoToSearchCombo
  • Ctrl-.                    (yes, the . is a period)
    The shortcut seems to be called Edit.Generate

The pictures below show the Smart Tag in action.

           

Oh BTW: the red squiggly lines and some of the other adornments in the screenshot are from CodeRush, one of the most keyboard-centric additions to Visual Studio I know.

–jeroen

Posted in Keyboards and Keyboard Shortcuts, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

Excel 2010/2007: Convert text to a table or vice versa (via: Word – Office.com)

Posted by jpluimers on 2012/05/21

The introduction of the Ribbon in Office 2007 and 2010 often makes me ask “why are things so complicated now, that were so easy until Office 2003”.

One of the things that were very close together in Word 2003, was converting text to and from tables: they were in adjecent menu items.

Not any more, as you can see in the Convert text to a table or vice versa  topic on the Microsoft site. There is even a Dummies article on this topic.

Summarized:

Convert text to a table

  1. Tab Insert,
  2. Group Tables,
  3. click Table,
  4. then click Convert Text to Table.

Of course the keyboard shortcuts are “easy” to remember: Alt, N, T, V

Convert a table to text

  1. When you have a (portion of a) table selected, you get a new contextual tab set called Table Tools.
  2. Tab Layout,
  3. Group  Data,
  4. click Convert to Text.

Of course the keyboard shortcuts are “easy” to remember: Alt, J,L, V

Word 2007/2010: Convert Table to Text

–jeroen

via: Convert text to a table or vice versa – Word – Office.com.
Naming of ribbon UI elements
Naming of ribbon UI elements

Posted in Keyboards and Keyboard Shortcuts, Office, Power User, Word | Leave a Comment »

The end of the classic ThinkPad Keyboard layout (#Lenovo #Fail)

Posted by jpluimers on 2012/05/18

(Thanks to a “Missed Post” problem on WordPress.com, this one didn’t get posted on the scheduled date. Sorry for any inconvenience)

First Lenovo did away with 1920×1200 screens. Now they done away with the ThinkPad keyboard layout.

Both were my compelling reasons for buying Lenovo.

In fact, they are now marked as forum.thinkpads.com • non-ThinkPad Lenovo Hardware.

New Lenovo X1 keyboard. No more ScrLk, Pause and local-menu keys, PrtScr key moved to impossible place. 6-key navigation split.

New Lenovo X1 keyboard. No more ScrLk, Pause and local-menu keys, PrtScr key moved to impossible place. 6-key navigation split.

–jeroen

PS: Anyone in The Netherlands who has a new ThinkPad W701 with 1920×1200 screen for sale?

Posted in Keyboards and Keyboard Shortcuts, Missed Schedule, Power User, SocialMedia, WordPress | 2 Comments »

Mac keyboard shortcut to move things to the Trash – Mac Guides: command-backspace #mac #keyboard #shortcut

Posted by jpluimers on 2012/05/18

Some shortcuts on the Mac are difficult for me to remember. For instance the one to move something from the Finder to the Trash.

The guides on Trash at MacRumours.com to the rescue:

Deleting items

You delete files and folders by moving them to the Trash. You can:

Drag and drop a file on the trash icon in the dock

Control-click on a file and select “Move to Trash” from the menu

Select a file or files and use the keyboard shortcut: command-backspace

Select a file or files and choose “File > Move to Trash” from the menu bar

Notes:

Read the rest of this entry »

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, Power User | Leave a Comment »

Microsoft Excel 2007/2010 – Protecting Workbooks and Worksheets

Posted by jpluimers on 2012/05/04

One of the things about the Office 2007 and 2010 Ribbon is that it makes the things that you have remembered for 10+ years go into hard to find places.

My point is that according to the ribbon documenation:

A ribbon can replace both the traditional menu bar and toolbars.

Microsoft has decided to read the “a ribbon can replace” as “the ribbon replaces”. Thereby also introducing a whole new naming for the UI elements used in ribbons (see at the bottom).

Tab "Review"; Group "Changes"; Commands "Protect Sheet" / "Protect Workbook"

Tab “Review”; Group “Changes”; Commands “Protect Sheet” / “Protect Workbook”

Protecting a worksheet and workbook have been in the menu “Tools”, submenu “Protection” forever. But alas: No more “Tools” menu, and accompanying keyboard shortcut productivity (and I needed “unprotect workbook” because you cannot copy workbooks inside a protected workbook).

As “password protect worksheet” shows, it is now under:

  1. Tab: Review
  2. Group: Changes
  3. Commands: Protect Sheet / Unprotect Sheet / Protect Workbook / Unprotect Workbook

–jeroen

via: Microsoft Excel 2007 – Protecting Workbooks.

Naming of ribbon UI elements

Naming of ribbon UI elements

Posted in Excel, Keyboards and Keyboard Shortcuts, Office, Power User | Leave a Comment »

Start a New Line Inside a Spreadsheet Cell in Excel | Excel Semi-Pro

Posted by jpluimers on 2012/03/16

Unlike most tools where you use Shift-Enter to add a line break character (ASCII 10: line feed), Excel is different:

Sometimes it’s necessary to have more than one line inside a worksheet cell, which is easily done with a line break.

Add a new line by holding down the Alt key while you press enter. It’s the keyboard shortcut Alt+Enter. In Excel 2008 and 2011 for Mac use Cmd+Option+Enter.

–jeroen

via: Start a New Line Inside a Spreadsheet Cell in Excel | Excel Semi-Pro.

Posted in Excel, Keyboards and Keyboard Shortcuts, Office, Office 2000, Office 2003, Office 2007, Office 2010, Office 2013, Office 2016, Power User | Leave a Comment »

“Cannot navigate to definition” annoyance in Visual Studio 2010 – (did it implement the mouse equivalent to Delphi code browsing? No, it didn’t)

Posted by jpluimers on 2012/03/08

This use case drove me nuts in Visual Studio 2010 for a while, but can be solved.

Use cases:

  1. Cannot navigate to definition.double click on a word to select it
  2. press Ctrl-C to copy the selected text
  3. result is either of these two dialogs:

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Cannot navigate to definition.
    ---------------------------
    OK
    ---------------------------

    Cannot navigate to definition. The cursor is not on a symbol.or

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Cannot navigate to definition. The cursor is not on a symbol.
    ---------------------------
    OK
    ---------------------------

The reason is that Visual Studio 2010 still thinks I am clicking the identifier (which I’m not, I just released the mouse button) while pressing the Ctrl key. Read the rest of this entry »

Posted in .NET, Delphi, Development, Keyboards and Keyboard Shortcuts, Power User, Software Development, Visual Studio 2010, Visual Studio and tools | Leave a Comment »