Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I programmatically open a palette from the Palettes menu? Is there a Front End token for this?


Certain settings for the palettes that are installed into standard locations and show up in the Palettes menu are stored in the "PalettesMenuSettings" global option (accessible through the Option Inspector or CurrentValue[$FrontEnd, "PalettesMenuSettings"]). These settings become active only if the palette is opened through the Palettes menu. If the palette notebook is opened directly (through the operating system's file manager or File -> Open...), then these settings do not take effect.

Use case:

I need to re-open the image uploader palette after it has updated itself. The upload history is stored in the "PalettesMenuSettings".

share|improve this question
Did you check this list? – Dr. belisarius Jul 21 '12 at 23:03
@belisarius Thanks! Where on earth did you find that list? It's extremely useful! Can you post an answer saying that FrontEndToeknExecute["OpenFromPalettesMenu", notebookFileName] will do it? – Szabolcs Jul 22 '12 at 10:01
The links to the sources are in that very post. Glad to help :) – Dr. belisarius Jul 22 '12 at 13:59
New and more complete list here – Dr. belisarius Jul 22 '12 at 15:03
up vote 8 down vote accepted

In this answer I posted a large stock of undocumented FE tokens.

Per your comment under the question, the required token is in that list:

FrontEndTokenExecute["OpenFromPalettesMenu", notebookFileName]
share|improve this answer
you can probably copy it here so that it's on our site (at least, the ones not already mentioned) – R. M. Jul 22 '12 at 14:05
@R.M Done. It was already linked by Chris there, I just made it self contained. – Dr. belisarius Jul 22 '12 at 14:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.