Questions tagged [palettes]

In Mathematica, a palette is a notebook with a collection of controls such as buttons. They can be used to perform many actions in Mathematica, including entering typesetting characters, styling notebooks, and performing evaluations.

Filter by
Sorted by
Tagged with
1 vote
0 answers
23 views

How to add File->Save to Cloud... and Cell->Cell Properties to my customized toolbar?

I'm programming my own DockedCells toolbar. Everything happened ok, the only things beyond my ability to resolve are: (1) adding a button (or an ...
hlediks's user avatar
  • 31
2 votes
1 answer
39 views

Palette to highlight a part of an Input expression

Teaching my grandson mathematics in the online regime through Skype, I show him my screen on which a Mathematica notebook is open. I use it to give him tasks by writing simple arithmetical expressions ...
Alexei Boulbitch's user avatar
0 votes
0 answers
43 views

Palette that gets single keystroke as input

I could find many examples of user-made Palette with many buttons in it. And drawing-tools Palette is not user-made, but it accepts a single keystroke as input. (In ...
imida k's user avatar
  • 3,965
0 votes
0 answers
25 views

Need a second click to use a palette

If I load the palette BasicTypesetting in a fresh kernel (Mathematica v12.2, Windows11) I observe flickering in the botten right corner of the palette window. If I choose an element of the palette by ...
Ulrich Neumann's user avatar
0 votes
0 answers
46 views

Open palette automatically on startup

I have a custom palette that I use constantly (code below). I would like it to open automatically when I first open Mathematica (13.0.1.0 for MacOS). Is this possible, and if so, how? I did look at ...
Richard Burke-Ward's user avatar
1 vote
0 answers
42 views

Create a dialog inside a palette

I am trying to get better at UI programming, by building a simple greeting. The user is asked to type his name in a prompt, and Mathematica will then print a greeting using his name: What is your ...
tush's user avatar
  • 375
1 vote
0 answers
31 views

How to have a form running when called from an ActionMenu in a Palette?

I create a FormFunction "form": ...
Gianni Mocellin's user avatar
1 vote
1 answer
92 views

Palette to control alignment in formula cells

I would like to create a palette with three buttons: Inserts an alignment marker at the current cursor insertion point (i.e., inserts the character ...
Richard Burke-Ward's user avatar
4 votes
1 answer
79 views

How to unfreeze the size of palettes in the 12.0 version

I have a counter-natural question. It started from the move from version 12.2 to 12.0 which for whatever unnatural reason was forced by the university. The latter is subscribed for Mathematica and it ...
Alexei Boulbitch's user avatar
1 vote
0 answers
42 views

Palette to align formulas in input cell

I have a palette that formats input cells for display, and also copies the number of cells in DisplayFormulaNumbered format so I can paste references to them in the ...
Richard Burke-Ward's user avatar
0 votes
1 answer
63 views

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

I'm trying to make a units palette to help with my various engineering courses. I thought about creating a "meta-palette" of sorts, maybe one that changes on the fly, or one where I can ...
Juan Manuel's user avatar
1 vote
1 answer
62 views

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

I have the following Palette: ...
Richard Burke-Ward's user avatar
3 votes
1 answer
66 views

Palette to copy and paste cell reference number

I have the following palette: ...
Richard Burke-Ward's user avatar
2 votes
2 answers
81 views

Quickly invoking a certain set of commands

Say I want to be able, in an arbitrary notebook, to quickly invoke a cell containing the commands NotebookFileName[] DateString[] What are good ways to get to be ...
Iosif Pinelis's user avatar
2 votes
0 answers
77 views

How to create a Palette to Edit TaggingRules for a Cell?

I am trying to find a way to append to the TaggingRules for a currently selected cell. This idea is similar to Cell->Cell Tags->Add/Remove Cell Tags, but with fields for a specific set of ...
Craig Carter's user avatar
  • 4,250
0 votes
0 answers
227 views

How to get the full Basic Math Assist palette

I find that in the latest version of Mma and Windows the Basic Math Assist palette cuts off all the useful functions (see image below). The only fix I have found is to close the tiny window and click ...
John P Boyd's user avatar
1 vote
0 answers
32 views

Do palettes limit the execution time of a user-defined function?

I have defined a function ConvertToMarkdown that does some long processing of a notebook: converts it to markdown, save inputs/outputs as images, generates a word ...
Victor K.'s user avatar
  • 5,146
6 votes
1 answer
255 views

Is there a palette for the AuthorTools add-on?

Mathematica still ships with the AuthorTools add-on. Is there a palette for that? (I seem to recall that there used to be.)
murray's user avatar
  • 11.8k
3 votes
0 answers
57 views

Save PaletteNotebook without any meta-data

The SE Uploader is created with CreateWindow[PaletteNotebook[...]] and then I need to save this under the FrontEnd/Palettes ...
halirutan's user avatar
  • 113k
4 votes
1 answer
169 views

How to take derivative using the Math Palette

I have a basic question on how to take derivatives using Math Palettes: I would like to get the derivative of cos(k*x - w*t) with respect to ...
user avatar
4 votes
1 answer
76 views

Avoiding jiggle in palettes

I have a palette containing a Grid with dynamics. As it runs it jiggles horizontally. Here's a minimal example: ...
M.R.'s user avatar
  • 31.4k
1 vote
1 answer
102 views

Turn PasteButton into keyboard shortcut

I'm looking for a general "recipe" to do with a keyboard shortcut what I currently do with a PasteButton. Here is a working toy example ...
mathheadinclouds's user avatar
1 vote
0 answers
76 views

How do I prevent 'Save changes to' upon closing a custom palette?

As part of a package I am developing, I am programmatically generating palettes to enter symbols using the CreatePalette function. Because those symbols change completely from application to ...
Kevin Ausman's user avatar
  • 2,267
3 votes
1 answer
162 views

Looking for alternative to programmatically-generated palette

Short version of the question: Is there a way to have an escape-sequence alias (or user-defined keyboard shortcut) pop up a dialog box or other type of input structure allowing the selection of a ...
Kevin Ausman's user avatar
  • 2,267
2 votes
0 answers
79 views

Palettes and Notebook Windows misbehaving [closed]

I have updated to version 11.3 of Mathematica, and am now getting a bizarre problem with the palettes and some of my notebook files. The contents are shrunk relative to the window size. See below. If ...
Kevin Ausman's user avatar
  • 2,267
0 votes
1 answer
74 views

How to enable loading packages dynamicly in Palette UI [duplicate]

Given a directory path and some .m files in it, I want load these packages files mannually outside notebooks, so I created Palette using code: ...
Jerry's user avatar
  • 2,459
4 votes
1 answer
44 views

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

Among dozens of Applications folders in my $UserBaseDirectory, many have associated palettes in their own FrontEnd/Palettes subfolders. A couple have multiple ...
murray's user avatar
  • 11.8k
7 votes
3 answers
100 views

How to create a button that deletes a character?

I am creating a template that can be used on a touch-screen to input data into an InputField. Following the example from the Basic Math Assistant palette, the ...
bobthechemist's user avatar
0 votes
0 answers
39 views

Classroom Assistant Will Not Expand Horizontally With Magnification

Being of advanced age I need magnification of tool bars, symbols etc. I get this for all palettes except Classroom Assistant. If I set a magnification that occurs but there is no horizontal increase ...
R. Carroll's user avatar
0 votes
0 answers
37 views

Change the Image Margins of a Toggler Dynamically

I am making a unit palette for myself in Mathematica 11.3, and am planning on making a column of togglers for the sections. ...
Brandon Myers's user avatar
3 votes
0 answers
132 views

Mathematica palettes in Wolfram Desktop

Apparently Wolfram Desktop is missing some useful palettes. How can I install them properly? Where would I download Writing Assistant from for example?
swish's user avatar
  • 7,791
0 votes
1 answer
91 views

Make dynamic folder selection palette

I have a dynamicSelectDir which serves as dynamic select folders ...
matheorem's user avatar
  • 17.1k
3 votes
0 answers
152 views

Get context from notebook

The function Context[] returns the context of the Notebook the function is called in. Is there a function where we can specify e.g a Notebook object and retrieve ...
Lou's user avatar
  • 3,822
3 votes
1 answer
69 views

Advice on working with Palettes needed

I'm dealing with several projects and would like to keep track of my work and notes into a notebook per project. Each notebook should have a top cell with basic information like: Customer name ...
Lou's user avatar
  • 3,822
1 vote
0 answers
136 views

Will the Wolfram Cloud products have a palette function? [closed]

I am going to use the Wolfram Cloud for my class. Will the Wolfram Cloud products have a palette function?
Milk's user avatar
  • 1,658
7 votes
1 answer
242 views

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

Link to Wolfram Community version Calling getDefaultToolkit() through J/Link causes the Front End to lose focus. This is specific to OS X. Here is a minimal ...
Szabolcs's user avatar
  • 235k
4 votes
1 answer
109 views

Stop PaletteNotebook from asking to save changes

I have some code, similar to that from this question (not sure where I modified it from, don't think it was actually that question) to open a simple dynamically refreshing palette showing the ...
SPPearce's user avatar
  • 5,633
3 votes
0 answers
76 views

Applying a stylesheet to a notebook using a setterbar - palette hiccup

I built a setterbar that allows me to quickly apply stylesheets to a notebook. Here is the code: ...
B flat's user avatar
  • 5,513
7 votes
1 answer
431 views

Outline of notebook sections

I've been looking for a simple outliner for Mathematica notebooks and found Yuri E. Kandrashkin Sidebar'TOC, but decided I need something simpler and dynamic. Has anyone tried making a dynamic ...
Ranza's user avatar
  • 1,205
3 votes
1 answer
89 views

Retaining custom style when creating a palette

I created a style in a private stylesheet called "GreenStyle". Here it is ...
B flat's user avatar
  • 5,513
1 vote
1 answer
78 views

Creating a Palette that dynamically updates button to display Current Alignment Justification

I have created palette with 3 buttons next to each other that allow me to change the justification the current cell in the notebooks to: Left, Center, and Right. I want the buttons to dynamically ...
B flat's user avatar
  • 5,513
1 vote
1 answer
85 views

How do I add tooltips to a palette?

The CreatingPalettes help file shows how to create a palette with special symbols: ...
matrixbud's user avatar
  • 435
5 votes
0 answers
222 views

How to Dock a Palette to a Notebook (not using the DockedCells[] function)

Is it possible to dock a palette to a notebook? First of all, I know how to work with the DockedCell[] function. However, this function will not achieve what I am looking for. Docked cells are ...
B flat's user avatar
  • 5,513
8 votes
1 answer
174 views

How to programmatically open the Special Character palette?

I can't seem to find a way to programmatically open the special characters palette found in the Insert menu in Mathematica. Is there a way to do this? Usually there is a frontend token one can use....
B flat's user avatar
  • 5,513
1 vote
0 answers
155 views

Misbehaving palettes

The behavior I am describing below may be OS specific, so I start by saying this is on Win7 x64. I'd like to have the Special Characters palette always available, and appearing on startup. However, ...
Pirx's user avatar
  • 4,139
3 votes
0 answers
61 views

Whye does the Debugger Control Palette keep popping up? [duplicate]

The Debugger Control Palette keeps popping up on my screen. It appeared for the first time when I checked the Debugger item in the Evaluation menu. Later on I unchecked the Debugger item and I ...
Soldalma's user avatar
  • 1,289
9 votes
1 answer
210 views

How to save palette positions?

I have searched for an answer to this particular Mathematica annoyance, but I could not find an answer anywhere: Question I would really like to be able to save the position and state of my palettes ...
Pirx's user avatar
  • 4,139
6 votes
1 answer
484 views

Using Palettes in Mathematica Online

my student is using the online version of Mathematica for my class; it appears to not have a palette feature for typing formatted input? This was kind of shocking to me; why wouldn't there be a ...
Jake Mirra's user avatar
0 votes
0 answers
40 views

How to display an image at native size on a display using CreatePalette? [duplicate]

I am trying to display an image in a new Notebook, centered on the display, using CreatePalette. Here is example code: ...
abwatson's user avatar
  • 1,919
3 votes
0 answers
116 views

How to place window on second screen?

I am trying to open a window on a second screen (a thunderbolt display attached to a macbook pro) that is the full size of the second screen. Here is the command I use: ...
abwatson's user avatar
  • 1,919