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 ...
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 ...
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, ...
8
votes
Accepted
How to save palette positions?
Using approach from How to customize the package editor interface?
...
7
votes
Accepted
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:
...
6
votes
5
votes
Accepted
5
votes
Accepted
Turn PasteButton into keyboard shortcut
Why not use an InputAutoReplacements instead? For example:
...
5
votes
Accepted
Looking for alternative to programmatically-generated palette
Here's something you can try:
...
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:
...
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 ...
4
votes
How can I uninstall palettes?
Open the folder:
SystemOpen[FileNameJoin[{$UserBaseDirectory, "SystemFiles", "FrontEnd", "Palettes"}]]
and delete the palettes you ...
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 <...
4
votes
Accepted
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 ...
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. ...
3
votes
Quickly invoking a certain set of commands
The following code will create a palette and print the file name and date:
...
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:
...
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 ...
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 ...
2
votes
Accepted
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:
...
2
votes
Can palettes dock to notebooks?
Building off of jVincent's idea here's a way to make it take up less space:
...
Community wiki
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.
2
votes
Accepted
Palette to control alignment in formula cells
This works on DisplayFormula cells and satisfies all three requirements. Hope this helps.
...
2
votes
Accepted
Palette to highlight a part of an Input expression
Instead of NotebookRead and NotebookWrite, you should use FrontEndExecute to change the <...
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 ...
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:
<...
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. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
palettes × 104front-end × 33
notebooks × 15
dynamic × 10
gui-construction × 7
windows × 7
formatting × 6
packages × 4
options × 4
stylesheet × 4
user-interface × 4
cells × 3
customization × 3
mac-os-x × 3
list-manipulation × 2
scoping × 2
style × 2
keyboard × 2
button × 2
inputfield × 2
save × 2
menu × 2
document-creation × 2
inheritance × 2
docked-cell × 2