MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Front end tokens and window maximization

  • To: mathgroup at
  • Subject: [mg95128] Re: Front end tokens and window maximization
  • From: Jason Evans <jason at>
  • Date: Wed, 7 Jan 2009 04:10:42 -0500 (EST)
  • References: <gjv771$p2e$>

On Jan 6, 4:10 am, Jason Evans <ja... at> wrote:
> Hello,
> I was wondering if there is anywhere to get a list of all of the front
> end tokens?  I know you can see the key mappings and menu mappings in
> the and files, but there are many
> front end tokens not listed in these files.
> Also, does anyone know the front end token for window maximization?
> Thanks to this forum, I have found the one for minimization:
> FrontEndTokenExecute[nb, "WindowMiniaturize"]
> Does anyone know a similar one for maximization?  Of course, having a
> list of all tokens would make life much easier!
> Thanks,
> Jason

I should add that I'm interested in a command for maximization because
I sometimes like to work with windows with "ThinFrame" or no frame,
and there's no way to maximize these windows outside of the frame
control buttons.  I added a menu item which pretty much does it (but
doesn't take the frame size into account, so this only works perfectly
with "ThinFrame" currently:

        Item["Maximize Window",
                Module[{screenWidthList, ScreenHeightList,
screenWidth, screenHeight},
                    screenWidthList = Options[$FrontEnd,
                    screenHeightList = Options[$FrontEnd,
                    screenWidth = screenWidthList[[2]] -
                    screenHeight = screenHeightList[[2]] -
                        WindowSize -> {screenWidth - 2, screenHeight -
                        WindowMargins -> {{0, screenWidth - 2},
{screenHeight - 2, 0}}];
            MenuEvaluator -> Automatic],

  • Prev by Date: Re: Please answer to my questions,thank you.
  • Next by Date: Re: loading autosaved package using Needs[]
  • Previous by thread: Front end tokens and window maximization
  • Next by thread: Re: Front end tokens and window maximization