Re: In search of a keyboard shortcut
- To: mathgroup at smc.vnet.net
- Subject: [mg89877] Re: In search of a keyboard shortcut
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Mon, 23 Jun 2008 02:49:40 -0400 (EDT)
- References: <g3iht3$fhe$1@smc.vnet.net>
vasil michev wrote:
> Hello, I was wondering if there is a shortcut or some other fast way
> to select the active cell (or its whole content) with the keyboard? I
> know several ways to do it, but all involve multiple actions, and
> thats not what im looking for.
>
One way to do this is to add an extra item to the menu. If you use '&'
characters in the extra definition, you can access the menu item using
an alt key combination (Windows) - just as Alt-EP will access edit/paste.
Find the file MENUSETUP.TR and make a copy of it in case you mess it up
- Mathematica is very unforgiving if it can't read this file!
Examine the structure of this file using a text editor, and note how it
corresponds to the Mathematica menu. The idea is to add a new item
somewhere in the structure:
Item["Select &Cell",FrontEndExecute[
SelectionMove[SelectedNotebook[],All,Cell];
], MenuEvaluator->Automatic]
This will create a menu item with an alt-key combination (depending
where exactly you place it in the menu tree).
David Bailey
http://www.dbaileyconsultancy.co.uk