Re: NotebookOpen Function
- To: mathgroup at smc.vnet.net
- Subject: [mg86483] Re: NotebookOpen Function
- From: "David Park" <djmpark at comcast.net>
- Date: Wed, 12 Mar 2008 00:13:57 -0500 (EST)
- References: <fr5e4m$o9q$1@smc.vnet.net>
Isn't there a WindowMargins option that controls the placement of the window? The margins are respect to the screen coordinates. -- David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ "N K" <nk200810 at yahoo.com> wrote in message news:fr5e4m$o9q$1 at smc.vnet.net... > Hi everyone, > I have the following scenario (most of which is > working expect one). > 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[{"{ > ", RowBox[{"x", ",", " ", "1 > ", ",", " ", " > 5"}], "}"}]}], "]"}]], "Input > "]}, WindowSize -> {200, 300}]]; > SelectionMove[nb, All, CellContents]; > SelectionEvaluate[nb]; > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > >