# Tag Info

2

I was right using ExpandSelection twice does the trick, but not the prettiest answer, but anyway, just add this to MenuSetup.tr: MenuItem["Google", FrontEndExecute[{ FrontEndTokenExecute["ExpandSelection"], FrontEndTokenExecute["ExpandSelection"], KernelExecute[ \$myContent = FrontEndExecute[FrontEndNotebookRead[FrontEndInputNotebook[]]]; ...

3

The keyboard shortcut might be different on your computer if you use a non-English keyboard layout. Or at least it's worth checking this. Go to the Insert menu and look for "Inline free-form input". It's the fourth entry in the menu. The keyboard shortcut will be shown next to it.

0

First, it hasn't been pointed out yet that the Notation package has the command AddInputAlias which is in principle designed to do what this question requires. There is even a palette for it. However, if you want to add several aliases all at once, the manual approach of the Notation package is inconvenient. One way to automate the creation of shortcuts is ...

1

In Input cells Tab has another use: to move between Placeholder characters and other "active" objects. You can still use other ways to insert a \[RawTab] character such as an Input Alias. To create one in the current Notebook evaluate: AppendTo[ CurrentValue[InputNotebook[], InputAliases], "ta" -> "\t" ] You can then enter a raw tab with ...

2

This should work as you expect: DynamicModule[{y}, CellPrint[ TextCell[Column@{Slider[Dynamic[y], {1, 10, 1}], Dynamic@y, Dynamic[imgs[[y]]]}, CellEventActions -> {"LeftArrowKeyDown" :> (y = Max[1, y - 1]; SelectionMove[InputNotebook[], After, ButtonCell]), "RightArrowKeyDown" :> (y = Min[10, y = y + 1]; ...

Top 50 recent answers are included