Re: Switching between open notebooks
- To: mathgroup at smc.vnet.net
- Subject: [mg80629] Re: Switching between open notebooks
- From: John Jowett <John.M.Jowett at gmail.com>
- Date: Sun, 26 Aug 2007 23:26:06 -0400 (EDT)
- References: <fardj7$b0o$1@smc.vnet.net>
Hello, At least on Windows, Ctrl-F6 has always done this (in Mathematica and many other programs). John Jowett On Aug 26, 10:28 am, "Yuri Kandrashkin" <spinalge... at gmail.com> wrote: > Hi, > > I prefer using keyboard commands and > I dont really like the mechanism of switching between active > (selected) notebooks from FrontEnd menu. I have found a solution which > might be helpful for others. > I set keyboard shortcut "ALT-`" to rotate open notebooks which is similar= to > "ALT-TAB" command of choosing active programs in Windows. > Below are steps to activate this mechanism: > > 1. Find the file "MenuSetup.tr". You can find it path by evaluation of > the command: > ToFileName[{$TopDirectory,"SystemFiles","FrontEnd","TextResources","Windo= ws=AD"}] > 2. Copy this file keeping the same directory structure into your > $UserBaseDirectory > 3. Put the following line > ,Delimiter, > Item["&Switch Windows", > KernelExecute[SetSelectedNotebook[Last[ > DeleteCases[Notebooks[],MessagesNotebook[= ]]]]], > MenuKey["`",Modifiers->{Command}], > MenuEvaluator -> Automatic] > after the line Item["Start Windows Listing", "MenuListWindows", > MenuAnchor->True] > The command and shortcut is optional, you can choose other combination > 4. Restart Mathematica > > This should activate the shortcut command "ALT-`" to swith active windows. > > Unfortunately the solution isn't perfect because it uses the commands of = kernel. > Please let me know if there is a better solution. > > -- > Sincerely, > Yuri Kandrashkin, PhDhttp://spinalgebra.com- Mathematica based applicatio= ns: > - Magnetic Resonance with SpinAlgebra > - Work with systems of Units