Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Ctrl+Number Shortcuts doesn't work
Replies: 3   Last Post: Dec 6, 2012 4:57 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jorge A. López López

Posts: 2
Registered: 7/30/11
Re: Ctrl+Number Shortcuts doesn't work
Posted: Sep 12, 2011 3:41 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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...@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...@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






Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.