Skip to main content
13 votes

Button action monitored with progress bar

Building on Kubas code here is an alternative which solves some (minor) problems: it will not leave behind scheduled tasks when the abort button is used, it works equaly well when the Alt+. shortcut ...
Albert Retey's user avatar
  • 23.6k
12 votes
Accepted

How to programmatically open the Special Character palette?

The following expression will open the special characters palette: FrontEndExecute[{FrontEnd`NotebookOpen["SpecialCharacters.nb"]}] This expression was extracted ...
WReach's user avatar
  • 69.2k
9 votes
Accepted

Is there a palette for the AuthorTools add-on?

Try this: << AuthorTools` OpenAuthorTool[] Then clicking on some of the links open up palettes. MakeProject, MakeIndex, MakeContents, NotebookDiff, ...
Chris K's user avatar
  • 20.3k
8 votes
Accepted

How to save palette positions?

Using approach from How to customize the package editor interface? ...
Kuba's user avatar
  • 137k
7 votes
Accepted

Outline of notebook sections

This is what I've came up with so far: ...
Ranza's user avatar
  • 1,215
6 votes
Accepted

J/Link stealing focus from the Front End on OS X. Workaround?

You can prevent the focus from being lost by setting certain system properties to true before calling any awt functionality: ...
WReach's user avatar
  • 69.2k
6 votes

How to create a button that deletes a character?

...
kglr's user avatar
  • 399k
5 votes
Accepted

How to create a button that deletes a character?

This almost works: ...
C. E.'s user avatar
  • 71k
5 votes
Accepted

Turn PasteButton into keyboard shortcut

Why not use an InputAutoReplacements instead? For example: ...
Carl Woll's user avatar
  • 131k
5 votes
Accepted

Looking for alternative to programmatically-generated palette

Here's something you can try: ...
Carl Woll's user avatar
  • 131k
5 votes

Show StyleSheets and Palettes from custom directory in Mathematica's Menu

The supported way to do this is to include a FrontEnd extension in the PacletInfo file, as in this example: ...
David Creech's user avatar
  • 1,128
4 votes
Accepted

Retaining custom style when creating a palette

Palette is a notebook so if you want to use that style there you have to set a stylesheet for it which will contain that style. The solution is closely related to Inheriting Stylesheets when using ...
Kuba's user avatar
  • 137k
4 votes

How can I uninstall palettes?

Open the folder: SystemOpen[FileNameJoin[{$UserBaseDirectory, "SystemFiles", "FrontEnd", "Palettes"}]] and delete the palettes you ...
Anton Antonov's user avatar
4 votes
Accepted

Do an Application's multiple palettes automatically get grouped together?

Those palettes are gathered under a common item 'TheAppName' because this is the structure FE finds in your Applications/TheAppName/FrontEnd/Palettes/... Was it <...
Kuba's user avatar
  • 137k
4 votes
Accepted

Stop PaletteNotebook from asking to save changes

Simply add the option Saveable -> False: ...
M.R.'s user avatar
  • 31.7k
4 votes
Accepted

How to take derivative using the Math Palette

The palette's typesetting shortcut Derivative notation which looks like this: is intended for inline math typesetting in a text cell. You use it typeset math expressions in text cells. Like this: To ...
m_goldberg's user avatar
  • 108k
4 votes
Accepted

Is this a bug in saving a palette?

Yes, this is an unfortunate issue that happens because the palette is a tool window. It is automatically hidden when the focus goes away, and it is shown again when you bring your notebook to focus. ...
Domen's user avatar
  • 30.5k
3 votes

Quickly invoking a certain set of commands

The following code will create a palette and print the file name and date: ...
Daniel Huber's user avatar
  • 54.6k
3 votes

What are the most common (usual) ways to make palettes with non-trivial functionality?

My go-to currently is to have a template that is laid out like this: ...
b3m2a1's user avatar
  • 47k
3 votes

Avoiding jiggle in palettes

Let's assume that the content's size is unknown up front but stays more or less the same later. You can adjust the size after it appears by using current value of WindowSize or to do this up front by ...
Kuba's user avatar
  • 137k
2 votes

How to create a button that deletes a character?

I would use a front end token for this purpose: Button["Backspace", FrontEndTokenExecute["DeletePrevious"]] This approach doesn't delete anything when the cursor ...
Carl Woll's user avatar
  • 131k
2 votes
Accepted

Make dynamic folder selection palette

I would throw in a Pane for the scrollbars: ...
Albert Retey's user avatar
  • 23.6k
2 votes

Advice on working with Palettes needed

Here's something that should fit your needs, you can set this for any project notebook you meant: ...
Kuba's user avatar
  • 137k
2 votes

Can palettes dock to notebooks?

Building off of jVincent's idea here's a way to make it take up less space: ...
2 votes

Using Palettes in Mathematica Online

At least as of 2017-07-14: 2d input in uploaded notebooks is blocked from editing, it doesn't have 2d input pallettes, and the keyboard shortcuts for 2d input are disabled.
Chris Chiasson's user avatar
2 votes
Accepted

Palette to control alignment in formula cells

This works on DisplayFormula cells and satisfies all three requirements. Hope this helps. ...
B flat's user avatar
  • 5,842
2 votes
Accepted

Palette to highlight a part of an Input expression

Instead of NotebookRead and NotebookWrite, you should use FrontEndExecute to change the <...
Domen's user avatar
  • 30.5k
1 vote

How to unfreeze the size of palettes in the 12.0 version

The problems were seemingly related to the fact that I used files generated within Math. 12.2 after I passed to Math.12.0. As soon as I created a file in 12.0 from the very beginning the palettes took ...
Alexei Boulbitch's user avatar
1 vote
Accepted

How can I create a PasteButton that changes its "contents" dynamically?

Unlike Button the PastButton does not have HoldRest attribute. You can rewrite it then: <...
Kuba's user avatar
  • 137k
1 vote
Accepted

Add "Align Center" button to a custom `Palette`

One way is to edit the stylesheet for your notebook to add two new styles:DisplayFormulaNumberedCenter and DisplayFormulaCenter. ...
Jean-Pierre's user avatar
  • 5,222

Only top scored, non community-wiki answers of a minimum length are eligible