Re: Set persistent default notebook window size and location
- To: mathgroup at smc.vnet.net
- Subject: [mg117224] Re: Set persistent default notebook window size and location
- From: "Harvey P. Dale" <hpd1 at nyu.edu>
- Date: Sat, 12 Mar 2011 05:07:35 -0500 (EST)
This problem is known to Wolfram and, although it has not been addressed in the 8.0.1 version, I understand that it may be fixed in the next significant update. In the meantime, this code in your init.m file works most of the time (and can obviously be changed to suit your preferences for window size and location): RunScheduledTask[FrontEndExecute[{SetOptions[FrontEnd`InputNotebook[],Wi ndowSize->{1150,750}], SetOptions[FrontEnd`InputNotebook[],WindowMargins->{{7,Automatic},{Autom atic,6}}]}],{2}] Best, Harvey -----Original Message----- From: Didier laplot [mailto:didier.laplot at gmail.com] Sent: Thursday, March 10, 2011 6:38 AM To: mathgroup at smc.vnet.net Subject: [mg117224] [mg117162] Set persistent default notebook window size and location Searching the Internet for 10 minutes this morning on how one would go about setting a default window size (and possibly window location) for newly created notebooks showed comments from users dating back to the Windows 95 days and covering all versions up to the latest one. There is no way to set this globally in the Option Inspector so that it takes effect all the time and one wonders why this global context is there at all in the Option Inspector. Maybe the settings in the StyleSheet used for the new notebook always take precedence, I don't know and I don't have the time to look into this. It was possible to set this in the ini file in version 7, but it doesn't work in version 8 for some reason. My question is: what is the up-to-date information on this issue ? Many thanks. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________