20
$\begingroup$

I'm looking for the FrontEnd`Foo[...]-like command that's triggered when pressing Ctrl + /.

Are there any discoverability features in Mathematica that would have helped in this case?

E.g., in Emacs I could have just pressed Ctrl + h k Ctrl + / ("Find function for key Ctrl + /").

$\endgroup$
2

1 Answer 1

14
$\begingroup$

With Michael's help (thanks) I figured out this snippet to do the job:

FrontEndExecute[{
    FrontEndToken[FrontEnd`InputNotebook[], "Fraction"]
}]
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.