Skip to main content
edited body
Source Link

@rm-rf and @PeterBreitfeldh described a way to define custom key bindings in $UserBaseDirectory/SystemFiles/FrontEnd/TextResources/Macintosh/KeyEventsTranslationKeyEventTranslations.tr. This technique worked great until Mathematica version 11, but it stopped working in version 12, at least on macOS.

I talked to Wolfram Technical Support, and they say that the Mathematica Notebook code is rewritten with macOS' Cocoa UI framework (instead of Carbon, I guess) in Version 12, as described in https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn12.html. This made KeyEventsTranslation.trKeyEventTranslations.tr stopped functioning in Mathematica for macOS.

In the Cocoa-based macOS apps, there is a universal way of defining custom key bindings, as described in https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html. Surprisingly this technique does not work, either, even though Mathematica Notebook is now written with the Cocoa framework. Wolfram Technical Support says that not all Cocoa features are supported in the new Mathematica Notebook, but they are working on it.

@rm-rf and @PeterBreitfeldh described a way to define custom key bindings in $UserBaseDirectory/SystemFiles/FrontEnd/TextResources/Macintosh/KeyEventsTranslation.tr. This technique worked great until Mathematica version 11, but it stopped working in version 12, at least on macOS.

I talked to Wolfram Technical Support, and they say that the Mathematica Notebook code is rewritten with macOS' Cocoa UI framework (instead of Carbon, I guess) in Version 12, as described in https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn12.html. This made KeyEventsTranslation.tr stopped functioning in Mathematica for macOS.

In the Cocoa-based macOS apps, there is a universal way of defining custom key bindings, as described in https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html. Surprisingly this technique does not work, either, even though Mathematica Notebook is now written with the Cocoa framework. Wolfram Technical Support says that not all Cocoa features are supported in the new Mathematica Notebook, but they are working on it.

@rm-rf and @PeterBreitfeldh described a way to define custom key bindings in $UserBaseDirectory/SystemFiles/FrontEnd/TextResources/Macintosh/KeyEventTranslations.tr. This technique worked great until Mathematica version 11, but it stopped working in version 12, at least on macOS.

I talked to Wolfram Technical Support, and they say that the Mathematica Notebook code is rewritten with macOS' Cocoa UI framework (instead of Carbon, I guess) in Version 12, as described in https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn12.html. This made KeyEventTranslations.tr stopped functioning in Mathematica for macOS.

In the Cocoa-based macOS apps, there is a universal way of defining custom key bindings, as described in https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html. Surprisingly this technique does not work, either, even though Mathematica Notebook is now written with the Cocoa framework. Wolfram Technical Support says that not all Cocoa features are supported in the new Mathematica Notebook, but they are working on it.

Source Link

@rm-rf and @PeterBreitfeldh described a way to define custom key bindings in $UserBaseDirectory/SystemFiles/FrontEnd/TextResources/Macintosh/KeyEventsTranslation.tr. This technique worked great until Mathematica version 11, but it stopped working in version 12, at least on macOS.

I talked to Wolfram Technical Support, and they say that the Mathematica Notebook code is rewritten with macOS' Cocoa UI framework (instead of Carbon, I guess) in Version 12, as described in https://reference.wolfram.com/language/guide/SummaryOfNewFeaturesIn12.html. This made KeyEventsTranslation.tr stopped functioning in Mathematica for macOS.

In the Cocoa-based macOS apps, there is a universal way of defining custom key bindings, as described in https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html. Surprisingly this technique does not work, either, even though Mathematica Notebook is now written with the Cocoa framework. Wolfram Technical Support says that not all Cocoa features are supported in the new Mathematica Notebook, but they are working on it.