Here is a brief explanation of the code. First we read the selected text from the
.
We then move the selection to be the entire cell.
Presently, button
programming is not well documented. To learn more about programming buttons, users should
have a look at the examples in the help browser under "Getting Started/Demos."
Look especially at the palette demos Polyhedron Explorer, Periodic Table,
and Physical Constants.