Message Boards Message Boards

0
|
3260 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Creating a palette with simple edit functions

Dear friends
For fastering typeset work in Mathematica I need a simple palette available in the most packages with functions of Cut/Copy/Paste. Mathematica has a powerful mechanism for constraction of custom palettes, but I cannot find commands for including Cut/Copy functions in actions of palette buttons. The Paste function, fortunately, is available. Maybe, there exists some workaround for assigning Cut/Copy functions to  palette buttons?
POSTED BY: Konstantin Nosov
2 Replies
Thank you, David. I've tried, it works. Regards.
POSTED BY: Konstantin Nosov
FrontEndExecute[FrontEndToken["Paste"]]
So a simple button that would past the current contents of the clipboard might be
Button["Paste",FrontEndExecute[FrontEndToken["Paste"]]]

Execute the following to create a clickable link to the documentation on front end tokens
Hyperlink["paclet:guide/FrontEndTokens"]
POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract