Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Ctrl+Number Shortcuts doesn't work

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121359] Re: Ctrl+Number Shortcuts doesn't work
  • From: Jorge A. López López <jorgext at gmail.com>
  • Date: Mon, 12 Sep 2011 04:21:26 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <j10ku4$ors$1@smc.vnet.net> <j1clkd$g7n$1@smc.vnet.net>

Hi, I am sorry for not answering before I have just survived with out
this shortcuts.  I check the file "KeyEventTranslations.tr" and it
shows exactly the same as yours. Looking for more information there is
only 1 person more with the same issue, and no answers:

http://forums.wolfram.com/student-support/topics/24103

I recently call Wolfram support asking for help, and they derived
attention to a specialized team, I am still waiting for...

Thanks,

Best Regards,
Jorge.

On 3 ago, 20:29, "Sjoerd C. de Vries" <sjoerd.c.devr... at gmail.com>
wrote:
> I guess you have been throwing away too many files. You might be
> missing (or perhaps it's corrupted) the file KeyEventTranslations.tr.
> You can find it in the directory indicated by executing
> $InstallationDirectory in Mathematica, subdirectory SystemFiles/
> FrontEnd/TextResources/MacOS
>
> If you have found it, there should be the following text in it:
>
> @@resource KeyEventTranslations
> (* Modifiers can be "Shift", "Control", "Command", "Option"
>         For Macintosh: "Command" = Command Key, "Option" = Op=
tion Key
>         For X11: "Command" = Mod1, "Option" = Mod2
>         For Windows: "Command" = Alt, "Option" = Alt
> *)
>
> EventTranslations[{
>
> (* Evaluation *)
>         Item[KeyEvent["Enter"], "EvaluateCells"],
>         Item[KeyEvent["KeypadEnter"], "EvaluateCells"],
>         Item[KeyEvent["Return", Modifiers -> {Shift}], "HandleShi=
ftReturn"],
>         Item[KeyEvent["KeypadEnter", Modifiers -> {Shift}],
> "EvaluateNextCell"],
>         Item[KeyEvent["Enter", Modifiers -> {Shift}], "EvaluateNe=
xtCell"],
>         Item[KeyEvent["Return", Modifiers -> {Shift, Control}],
> Evaluate[All]],
>         Item[KeyEvent["Return", Modifiers -> {Option}], "SimilarC=
ellBelow"],
>         Item[KeyEvent["Escape"], "ShortNameDelimiter"],
>
> (* Cursor control *)
>         Item[KeyEvent["Up"], "MovePreviousLine"],
>         Item[KeyEvent["Down"], "MoveNextLine"],
>         Item[KeyEvent["Left"], "MovePrevious"],
>         Item[KeyEvent["Right"], "MoveNext"],
>         Item[KeyEvent["Right", Modifiers -> {Control}], "MoveNext=
Word"],
>         Item[KeyEvent["Left", Modifiers -> {Control}], "MovePrevi=
ousWord"],
>         Item[KeyEvent["End"], "MoveLineEnd"],
>         Item[KeyEvent["Home"], "MoveLineBeginning"],
>
> (* Selection *)
>         Item[KeyEvent["Right", Modifiers -> {Shift}], "SelectNext=
"],
>         Item[KeyEvent["Left", Modifiers -> {Shift}], "SelectPrevi=
ous"],
>         Item[KeyEvent["Right", Modifiers -> {Control, Shift}],
> "SelectNextWord"],
>         Item[KeyEvent["Left", Modifiers -> {Control, Shift}],
> "SelectPreviousWord"],
>         Item[KeyEvent["Down", Modifiers -> {Shift}], "SelectNextL=
ine"],
>         Item[KeyEvent["Up", Modifiers -> {Shift}], "SelectPreviou=
sLine"],
>         Item[KeyEvent["Home", Modifiers -> {Shift}], "SelectLineB=
eginning"],
>         Item[KeyEvent["End", Modifiers -> {Shift}], "SelectLineEn=
d"],
>         Item[KeyEvent[".", Modifiers -> {Control}], "ExpandSelect=
ion"],
>         Item[KeyEvent["KeypadDecimal", Modifiers -> {Control}],
> "ExpandSelection"],
>
> (* Notebook window control *)
>         Item[KeyEvent["Up", Modifiers -> {Control}], "ScrollLineU=
p"],
>         Item[KeyEvent["Down", Modifiers -> {Control}], "ScrollLin=
eDown"],
>         Item[KeyEvent["PageUp"], "ScrollPageUp"],
>         Item[KeyEvent["PageDown"], "ScrollPageDown"],
>         Item[KeyEvent["Prior"], "ScrollPageUp"],
>         Item[KeyEvent["Next"], "ScrollPageDown"],
>         Item[KeyEvent["Home", Modifiers -> {Control}],
>                 FrontEndExecute[{
>                         FrontEnd`SelectionMove[Fr=
ontEnd`InputNotebook[], Before, Notebook],
>                         FrontEnd`FrontEndToken["S=
crollNotebookStart"]
>                 }]],
>         Item[KeyEvent["End", Modifiers -> {Control}],
>                 FrontEndExecute[{
>                         FrontEnd`SelectionMove[Fr=
ontEnd`InputNotebook[], After, Notebook],
>                         FrontEnd`FrontEndToken["S=
crollNotebookEnd"]
>                 }]],
>         Item[KeyEvent["w", Modifiers -> {Control}], "Close"],
>         Item[KeyEvent["Left", Modifiers->{Command}], "HyperlinkGo=
Back"],
>         Item[KeyEvent["Right", Modifiers->{Command}], "HyperlinkG=
oForward"],
>
> (* Input *)
>         Item[KeyEvent["Return"], "Linebreak"],
>         Item[KeyEvent["Tab"], "Tab"],
>         Item[KeyEvent["Backspace"], "DeletePrevious"],
>         Item[KeyEvent["Delete"], "DeleteNext"],
>         Item[KeyEvent["Backspace", Modifiers->{Control}],
> "DeletePreviousWord"],
>         Item[KeyEvent["Delete", Modifiers->{Control}], "DeleteNex=
tWord"],
>
> (* Typesetting input *)
>         Item[KeyEvent["6", Modifiers -> {Control}], "Superscript"=
],
>         Item[KeyEvent["Keypad6", Modifiers -> {Control}], "Supers=
cript"],
>         Item[KeyEvent["^", Modifiers -> {Control}], "Superscript"=
],
>         Item[KeyEvent["-", Modifiers -> {Control}], "Subscript"],
>         Item[KeyEvent["KeypadSubtract", Modifiers -> {Control}],
> "Subscript"],
>         Item[KeyEvent["_", Modifiers ->{Control}],  "Subscript"=
],
>         Item[KeyEvent["/", Modifiers -> {Control}], "Fraction"],
>         Item[KeyEvent["KeypadDivide", Modifiers -> {Control}], "F=
raction"],
>         Item[KeyEvent["2", Modifiers -> {Control}], "Radical"],
>         Item[KeyEvent["Keypad2", Modifiers -> {Control}], "Radica=
l"],
>         Item[KeyEvent["@", Modifiers -> {Control}], "Radical"],
>         Item[KeyEvent["7", Modifiers -> {Control}], "Above"],
>         Item[KeyEvent["&", Modifiers -> {Control}], "Above"],
>         Item[KeyEvent["Keypad7", Modifiers -> {Control}], "Above"=
],
>         Item[KeyEvent["=", Modifiers -> {Control}], "Below"],
>         Item[KeyEvent["+", Modifiers -> {Control}], "Below"],
>         Item[KeyEvent["KeypadAdd", Modifiers -> {Control}], "Belo=
w"],
>         Item[KeyEvent[",", Modifiers -> {Control}], "NewColumn"],
>         Item[KeyEvent["Return", Modifiers -> {Control}], "NewRow"=
],
>         Item[KeyEvent["9", Modifiers -> {Control}], "CreateInline=
Cell"],
>         Item[KeyEvent["(", Modifiers -> {Control}], "CreateInline=
Cell"],
>         Item[KeyEvent["Keypad9", Modifiers -> {Control}],
> "CreateInlineCell"],
>         Item[KeyEvent[")", Modifiers -> {Control}], "MoveNextCell=
"],
>         Item[KeyEvent["0", Modifiers -> {Control}], "MoveNextCell=
"],
>         Item[KeyEvent["Keypad0", Modifiers -> {Control}], "MoveNe=
xtCell"],
>         Item[KeyEvent["5", Modifiers -> {Control}, CellClass -> B=
oxFormData],
> "Otherscript"],
>         Item[KeyEvent["Keypad5", Modifiers -> {Control}, CellClas=
s ->
> BoxFormData], "Otherscript"],
>         Item[KeyEvent["%", Modifiers -> {Control}, CellClass -> B=
oxFormData],
> "Otherscript"],
>         Item[KeyEvent["Left", Modifiers->{Command}, CellClass ->
> BoxFormData], "NudgeLeft"],
>         Item[KeyEvent["Right", Modifiers->{Command}, CellClass ->
> BoxFormData], "NudgeRight"],
>         Item[KeyEvent["PageUp", Modifiers-> {Control}, CellClass =
->
> BoxFormData], "PreviousFunctionTemplate"],
>         Item[KeyEvent["PageDown", Modifiers-> {Control}, CellClas=
s ->
> BoxFormData], "NextFunctionTemplate"],
>
> (* Typesetting motion commands *)
>         Item[KeyEvent[" ", Modifiers -> {Control}], "MoveExpressi=
onEnd"],
>         Item[KeyEvent["Tab", Modifiers -> {Shift}, CellClass -> B=
oxFormData],
> "MovePreviousPlaceHolder"],
>         Item[KeyEvent["Tab", Modifiers -> {Control}, CellClass ->
> BoxFormData], "MoveNextExpression"],
>         Item[KeyEvent["Tab", Modifiers -> {Control, Shift}, CellC=
lass ->
> BoxFormData], "MovePreviousExpression"],
>
> (* Drawing tool commands *)
>         Item[KeyEvent["o", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["Select"]]],
>         Item[KeyEvent["r", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["Reshape"]]],
>         Item[KeyEvent["p", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["DrawPoint"]]],
>         Item[KeyEvent["c", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["DrawCircle"]]],
>         Item[KeyEvent["f", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["DrawFreehand"]]],
>         Item[KeyEvent["a", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["DrawArrow"]]],
>         Item[KeyEvent["l", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["DrawLine"]]],
>         Item[KeyEvent["q", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["DrawRectangle"]]],
>         Item[KeyEvent["s", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["DrawPolyline"]]],
>         Item[KeyEvent["g", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["DrawPolygon"]]],
>         Item[KeyEvent["t", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["PlaceText"]]],
>         Item[KeyEvent["m", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["PlaceMath"]]],
>         Item[KeyEvent["i", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["SampleColor"]]],
>         Item[KeyEvent[".", CellClass->BoxFormData, BoxClass->Grap=
hEdit2D],
> FrontEndExecute[Select2DTool["GetCoordinates"]]],
>
>         Item[KeyEvent["o", CellClass->BoxFormData, BoxClass->Grap=
hEdit3D],
> FrontEndExecute[Select3DTool["Select"]]],
>         Item[KeyEvent["r", CellClass->BoxFormData, BoxClass->Grap=
hEdit3D],
> FrontEndExecute[Select3DTool["Reshape"]]],
>         Item[KeyEvent["i", CellClass->BoxFormData, BoxClass->Grap=
hEdit3D],
> FrontEndExecute[Select3DTool["SampleColor"]]],
>         Item[KeyEvent["v", CellClass->BoxFormData, BoxClass->Grap=
hEdit3D],
> FrontEndExecute[Select3DTool["AdjustView"]]],
>         Item[KeyEvent["m", CellClass->BoxFormData, BoxClass->Grap=
hEdit3D],
> FrontEndExecute[Select3DTool["AdjustLights"]]],
>
> (* Grouping commands *)
>         Item[KeyEvent["g", Modifiers -> {Control, Shift}], "CellG=
roup"],
>         Item[KeyEvent["u", Modifiers -> {Control, Shift}], "CellU=
ngroup"],
>         Item[KeyEvent["g", Modifiers -> {Control, Shift}, CellCla=
ss->BoxFormData, BoxClass->GraphEdit2D], "Group"],
>
>         Item[KeyEvent["u", Modifiers -> {Control, Shift}, CellCla=
ss-
>
> >BoxFormData, BoxClass->GraphEdit2D], "Ungroup"],
>
> (* Miscellaneous menu commands *)
>         Item[KeyEvent["Cut"], "Cut"],
>         Item[KeyEvent["Copy"], "Copy"],
>         Item[KeyEvent["Paste"], Paste[After]],
>         Item[KeyEvent["Undo"], "Undo"],
>         Item[KeyEvent["Help"], "SelectionHelpDialog"],
>         Item[KeyEvent["Insert", Modifiers -> {Shift}], Paste[Afte=
r]],
>         Item[KeyEvent["Insert", Modifiers -> {Control}], "Copy"],
>         Item[KeyEvent["Delete", Modifiers -> {Shift}], "Cut"],
>         Item[KeyEvent["F1", Modifiers->{Shift}], SelectionHelpDia=
log[False]],
>         Item[KeyEvent["F2"], FrontEnd`CompleteSelection[True]]
>
> }]
>
> Cheers -- Sjoerd
>
> On Jul 30, 12:03 pm, Jorge A. L=F3pez L=F3pez <jorg... at gmail.com> wro=
te:
>
>
>
>
>
>
>
> > Hello All,
>
> > I have Mathematica 8, with Mac OS X.
>
> > My Problem:
> > When I want to add a superscript the shortcut is "Ctrl+6", it doesn't
> > work, if I use the Writing Assistant tool the superscript appears with
> > no errors. It also happen with any combination, like "Ctrl+2", for
> > square root.
> > Other kind of combinations, for example, "Ctrl+Shift+7" gives a
> > fraction, with no problems, also "Ctrl+_" works for subscripts
>
> > What I have done:
> > Reseting Mathematica preferences by pressing "Option+Shift" and
> > opening the program waiting for full start, did not work.
> > Removing "/Library/Mathematica/" and "Library/Mathematica/" folders, I
> > don't know if there are more pref. folders in the system, after
>
> ...
>
> leer m=E1s =BB





  • Prev by Date: Problems in Nintegrate
  • Next by Date: Re: execution model: Function vs. delayed execution
  • Previous by thread: Re: Problems in Nintegrate
  • Next by thread: Simplifying Bessel Functions