Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: NotebookOpen Function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86486] Re: NotebookOpen Function
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Wed, 12 Mar 2008 00:14:31 -0500 (EST)
  • References: <fr5e4m$o9q$1@smc.vnet.net>

The option that you are interested in here is WindowMargins.  It
allows you to place the window with specific distances from screen
edges.  Read the documentation carefully, especially with regard to
where the value Automatic should appear in the specification so that
your positioning is independent of the screen that you are using.

Hope this helps!

--David
A WorkLife FrameWork
E x t e n d i n g MATHEMATICA's Reach...
Trial Version at:
http://scientificarts.com/worklife/


On Mar 11, 3:59=A0am, N K <nk200... at yahoo.com> wrote:
> Hi everyone,
> I have the following scenario (most of which is
> working expect one). =A0
> In one of the notebooks I would like to call the plot
> command and would like to display the plot in a
> different notebook (which I have done). I would like
> to give the window a particular size (which also
> works). However, I would like to place this newly
> created window at a certain (x,y) position on the
> screen. I was wondering if this is a possibility and
> if so then how can one do such a thing?
>
> Thanks very much,
>
> nb =
> NotebookPut[Notebook[{Cell[BoxData[RowBox[{"Plot",
> "[", RowBox[{"x", \
> ",", " ", RowBox[{"{
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ", RowBox[{"x", ",", " ", "1
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ", ",", " ", "
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 5"}], "}"}]}], "]"}]], "Input
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "]}, WindowSize -> {200, 300}]=
];
> SelectionMove[nb, All, CellContents];
> SelectionEvaluate[nb];
>
> =A0 =A0 =A0 ______________________________________________________________=
_____________ _________
> Looking for last minute shopping deals? =A0
> Find them fast with Yahoo! Search. =A0http://tools.search.yahoo.com/newsea=
rch/category.php?category=shopping



  • Prev by Date: Re: Evaluating notebooks from other notebooks
  • Next by Date: Re: NDSolve Question
  • Previous by thread: Re: NotebookOpen Function
  • Next by thread: Re: NotebookOpen Function