Group Abstract Group Abstract

Message Boards Message Boards

4
|
29.4K Views
|
11 Replies
|
11 Total Likes
View groups...
Share
Share this post:

How can I modify the shortcut CTRL + = to enter an Entity?

Posted 12 years ago

Hello,

this question is related to this one here. I have a German keyboard and there is no "=" key, so I can't use the shortcut "CTRL" + "=" to enter an Entity[]. How can I replace this shortcut with e.g. "CTRL" + "0", which is the closest to "CTRL" + "=", as "=" equals "SHIFT" + "0"? Is there any option in the preferences?

Thanks!

(it's related to Mathematica 10)

11 Replies
POSTED BY: Ilian Gachevski
POSTED BY: Armin Vollmer

Thank you Armin, I was getting annoyed because my modifications to MenuSetup.tr would not work as they did in 14.0. Also it seems that the file at this new location cannot be copied to \ $UserBaseDirectory anymore. It can be copied of course, but Mathematica will not use it, it will continue to use the one in \$InstallationDirectory.

I am not sure why the file at /SystemFiles/FrontEnd/TextResources/...OS.../MenuSetup.tr is still there, it does not seem to have any purpose now.

POSTED BY: Stefan Popien

The Portuguese keyboard has the same layout problem (CTRL + SHIFT + 0).

I can confirm that this key combination doesn't work on Mathematica, and that my windows is not using the CTRL + SHIFT combination to switch input languages or keyboard (it doesn't seem to be using it for anything).

With the above in consideration, and considering that:

  • 2 versions later the inline natural input is more and more of relevance on the entity framework,
  • the web interface seems to suffer from the same problem...

...I believe that a better solution should be implemented as alternative to asking (many) international users to reconfigure the menu configuration file just after first install, update, etc... (don't even know how to do that on the cloud interface..., and the documentation doesn't seem to mention inline free-form input on the shortcuts page)

POSTED BY: Pedro Fonseca

The short cut has been changed in the meanwhile to ctrl + * I have a German keyboard and Version 13.2 running.

I guess nothing beats a keyboard with a US layout for programming. :)

I tried plenty of AutoHotKey scripts to enter Ctrl+= — but to no avail. Maybe someone has a nice AutoHotKey snippet for me that will do the trick?

POSTED BY: Arne Eide

Hi Ilian, thanks for hint! I have found the file and modified it, but CTRL + 0 is already used:

MenuItem["End &Inline Cell", "MoveNextCell", MenuKey["0", Modifiers->{"Control"}]]

So I modified it using "F8" instead. It works as expected. Thanks!

MenuItem["Inline Free-form Input",
       KernelExecute[AlphaIntegration`LinguisticAssistant[InputNotebook[]]], 
       MenuKey["F8", Modifiers->{}], MenuEvaluator -> "Local"]

insert menu

Hi, CTRL + SHIFT + 0 doesn't work; this was my first try. Any other ideas?

CTRL-SHIFT-0 should work. On Windows, CTRL-SHIFT is sometimes used to switch input languages or keyboard layouts, so this may need to be changed in the OS preferences.

POSTED BY: Ilian Gachevski
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard