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
28 views

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

I create a FormFunction "form": ...
user avatar
0 votes
0 answers
58 views

ActionMenu and FormFunction in CreatePalette

While trying to answer this question on the Wolfram Community site I ran into the following issue. This works ...
user avatar
0 votes
0 answers
15 views

How to map a keyboard combination of two keys pressed in sequence with modifiers to a palette?

I am aware of the question How to add a keyboard shortcut to open a Palette. I would like to modify the example there to open the special character palette when I press Ctrl+Shift+S,C. How would I ...
user avatar
0 votes
0 answers
29 views

Make custom palette open automatically and remember its position

I use this palette constantly: ...
user avatar
1 vote
1 answer
81 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 ...
user avatar
4 votes
1 answer
69 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 ...
user avatar
1 vote
0 answers
25 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 ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
1 vote
1 answer
52 views

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

I have the following Palette: ...
user avatar
3 votes
1 answer
52 views

Palette to copy and paste cell reference number

I have the following palette: ...
user avatar
2 votes
2 answers
76 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 ...
user avatar
2 votes
0 answers
58 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 ...
user avatar
  • 2,068
0 votes
0 answers
103 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 ...
user avatar
1 vote
0 answers
28 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 ...
user avatar
  • 3,399
6 votes
1 answer
177 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.)
user avatar
  • 11.3k
3 votes
0 answers
54 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 ...
user avatar
  • 111k
3 votes
1 answer
125 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
72 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: ...
user avatar
  • 30.3k
1 vote
1 answer
90 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 ...
user avatar
0 votes
0 answers
57 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 ...
user avatar
  • 2,219
3 votes
1 answer
135 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 ...
user avatar
  • 2,219
2 votes
0 answers
67 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 ...
user avatar
  • 2,219
0 votes
1 answer
71 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: ...
user avatar
  • 2,379
4 votes
1 answer
42 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 ...
user avatar
  • 11.3k
6 votes
3 answers
87 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 ...
user avatar
0 votes
0 answers
35 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 ...
user avatar
0 votes
0 answers
34 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. ...
user avatar
3 votes
0 answers
120 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?
user avatar
  • 7,085
0 votes
1 answer
87 views

Make dynamic folder selection palette

I have a dynamicSelectDir which serves as dynamic select folders ...
user avatar
  • 15.6k
3 votes
0 answers
136 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 ...
user avatar
  • 3,600
3 votes
1 answer
63 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 ...
user avatar
  • 3,600
1 vote
0 answers
102 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?
user avatar
  • 1,091
7 votes
1 answer
194 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 ...
user avatar
  • 224k
4 votes
1 answer
84 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 ...
user avatar
  • 5,383
3 votes
0 answers
71 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: ...
user avatar
  • 4,549
6 votes
1 answer
258 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 ...
user avatar
  • 1,115
3 votes
1 answer
78 views

Retaining custom style when creating a palette

I created a style in a private stylesheet called "GreenStyle". Here it is ...
user avatar
  • 4,549
1 vote
1 answer
70 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 ...
user avatar
  • 4,549
1 vote
1 answer
77 views

How do I add tooltips to a palette?

The CreatingPalettes help file shows how to create a palette with special symbols: ...
user avatar
  • 411
5 votes
0 answers
195 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 ...
user avatar
  • 4,549
8 votes
1 answer
166 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....
user avatar
  • 4,549
1 vote
0 answers
127 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, ...
user avatar
  • 4,119
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 ...
user avatar
  • 1,279
9 votes
1 answer
195 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 ...
user avatar
  • 4,119
6 votes
1 answer
381 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 ...
user avatar
0 votes
0 answers
38 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: ...
user avatar
  • 1,857
3 votes
0 answers
104 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: ...
user avatar
  • 1,857
8 votes
2 answers
200 views

How to open and explore the codes of the system Palettes files

The built in Palettes of Mathematica are simply .nb files which can be found in the following place: ...
user avatar
1 vote
0 answers
70 views

Palette Sizing Options [duplicate]

I am writing a palette to work with units on Mathematica 9, using just PasteButtons, and have a Button map that works as I want it to, but the formatting of the palette itself is giving me issues. I ...
user avatar
8 votes
1 answer
142 views

Strange caching of Palette's TaggingRules

Please follow those steps to get the idea about the problem: Let's create a palette: ...
user avatar
  • 132k