Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!agate!ucbvax!MCIRPS2.MED.NYU.EDU!karron From: karron@MCIRPS2.MED.NYU.EDU Newsgroups: comp.sys.sgi Subject: Re: toolplaces/xwininfo equivalent? Message-ID: <9010190842.AA18599@mcirps2.med.nyu.edu> Date: 19 Oct 90 11:57:01 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron%CMCL2.NYU.EDU@cunyvm.cuny.edu Organization: The Internet Lines: 39 X-Unparsable-Date: Fri, 19 Oct 90 01:42:28 DSD > >I'd like to extract position and size information from the windows that >are currently on my screen (not just their prefposition's). After I >move the windows around so they're how I want them, I want to know what >size and position coordinates to put in my user.ps file so they will >come up the same way next time. Suntools has "toolplaces," X11 has >"xwininfo." Is there something similar for 4Sight (rather, NeWS)? > >-- David I second this request. There is no similar mechanism that I am aware of for this in 4sight. This should a part of the next release of 4sight (5sight ?). I would like to place tools, icons, and programs on my desk without fooling with the co-ords. For my own development work, I use a wrapper for winopen that reads in a file containing the window placement. For gexit, I use a wrapper that saves the window position prior to closing for use in the next instance of the program. If there is interest in my hack, I will post it (That also means I have to make it presentable, but I want this functionality, and dont see it comming from sgi). Then each winopen("foo") will have associated with it an icon image file("foo.icon") and an ascii editable size and placement file ("foo.prefs"). The real solution would be a system program that would take any window program and extract its position and size. That might be easier than re- writing all of the tools to take window size/position placement/report arguments. dan. +-----------------------------------------------------------------------------+ | karron@nyu.edu Dan Karron | | . . . . . . . . . . . . . . New York University Medical Center | | 560 First Avenue \ \ Pager <1> (212) 397 9330 | | New York, New York 10016 \**\ <2> 10896 <3> | | (212) 340 5210 \**\__________________________________________ | | Please Note :Soon to move to dan@karron.med.nyu.edu 128.122.135.3 (Mid Oct)| +-----------------------------------------------------------------------------+