Maximize ALL windows?

  • Thread starter Thread starter je1058
  • Start date Start date
J

je1058

How do I set XP so that ALL windows I open are maximized, ALL of the
time? Currently, they open in the last "sized" mode I dragged them
to the last time I used it, which is very hard to manage.
 
Use special shortcuts to always open them, and rightclick the shortcut,
Properties, and set the drop box for that to open Maxed.
 
Mark L. Ferguson1 said:
Use special shortcuts to always open them, and rightclick the
shortcut,
Properties, and set the drop box for that to open Maxed.

I don’t understand that response. When I’m viewing the internet using
IE, there are a few sites I regularly use that open in a new window,
when the link is clicked. I want those windows to be maximized when
opening. Currently, they’re random.

I was wondering if there was a registry edit function or something
even simpler to accomplish this???
 
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
maximizeapps=1 as a dword

It will have wierd consequences.
 
Yes, there is a way to add an item to the rightclick menu of any link on a
page, that opens a maxed window. Running this "MaxLink.vbs" script does
that. Paste it into notepad and save it. After you run the file, restart IE
and rightclick a link on some page, to look for the "Max Link Size IE" item


//--MaxLink.vbs---cut here--
// Mark L. Ferguson 2000 (e-mail address removed)
// free for non-commercial use
var vbOKCancel = 1;
var vbInformation = 64;
var vbCancel = 2;
var L_Welcome_MsgBox_Message_Text = "This script puts a maximize item on
the IE right click menu of a link.";
var L_Welcome_MsgBox_Title_Text = "Link Max Size IE";
Welcome();
var WSHShell = WScript.CreateObject("WScript.Shell");
WSHShell.RegWrite("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet
Explorer\\MenuExt\\Link Max Size IE\\", "file://c:\\MaxLink.htm");
WSHShell.RegWrite("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet
Explorer\\MenuExt\\Link Max Size IE\\Contexts", 0x20, "REG_DWORD");
var fso = WScript.CreateObject("Scripting.FileSystemObject");
var f = fso.OpenTextFile("c:\\MaxLink.htm", 2, true);
f.WriteLine("<SCRIPT LANGUAGE='JScript' >");
f.WriteLine("var
hWin=open('javascript:window.resizeTo(screen.width,screen.height);window.moveTo(0,0)');");
f.WriteLine("hWin.navigate(external.menuArguments.event.srcElement.href);");
f.WriteLine("</SCRIPT>");
f.Close();
function Welcome() {
var WSHShell = WScript.CreateObject("WScript.Shell");
var intDoIt;
intDoIt = WSHShell.Popup(L_Welcome_MsgBox_Message_Text, 0,
L_Welcome_MsgBox_Title_Text, vbOKCancel + vbInformation );
if (intDoIt == vbCancel) {
WScript.Quit();
}
}
//--cut here--
 
Well, I forgot that I wrote that file as a JS file, so name it " MaxLink.JS"
instead.
 
David Candy said:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionEx
plorer
maximizeapps=3D1 as a dword

It will have wierd consequences.
--=20
----------------------------------------------------------
http://www.uscricket.com

&nbsp;> > Use special shortcuts to always open them, and
rightclick the
&nbsp;> > shortcut,=20
&nbsp;> > Properties, and set the drop box for that to open
Maxed.
&nbsp;> >=20
&nbsp;> > --=20
&nbsp;> >=20
&nbsp;> > Mark L. Ferguson (NOT an MS-MVP)
&nbsp;> > marfers notes for windows xp=20
&nbsp;> > http://www.geocities.com/marfer_mvp/chatNotes.htm
&nbsp;> > ..
&nbsp;> > "je1058" &lt;[email protected]&gt;
wrote in message=20
&nbsp;> > &nbsp;&nbsp;> > > How do I set XP so that ALL windows I open
are maximized,
&nbsp;> > ALL of the
&nbsp;&nbsp;> > > time? Currently, they open in the last
"sized" mode I
&nbsp;> > dragged them
&nbsp;&nbsp;> > > to the last time I used it, which is very
hard to manage.
&nbsp;&nbsp;> > >
&nbsp;&nbsp;> > > --=20
&nbsp;&nbsp;> > > http://www.WindowsForumz.com/ This article
was posted by author's =
request
&nbsp;&nbsp;> > > Articles individually checked for
conformance to usenet
&nbsp;> > standards
&nbsp;&nbsp;> > > Topic URL:=20
&nbsp;&nbsp;> > > =
http://www.WindowsForumz.com/Help---Support-Maximize-windows-ftopict24218=
0.html
&nbsp;&nbsp;> > > Visit Topic URL to contact author (reg.
req'd). Report
&nbsp;> > abuse:=20
&nbsp;&nbsp;> > >
http://www.WindowsForumz.com/eform.php?p=3D736028
internet =
using

Mark - Thanks for your reply! I tried to copy what you sent and kept
getting errors. I got most of them soved but I’m stuck on line 8,
number 133 with "cannot use parantheses when calling a sub" Code:
800A0414

Here’s what I got after my editing:


var vbOKCancel = 1
var vbInformation = 64
var vbCancel = 2
var L_Welcome_MsgBox_Message_Text = "This script puts a maximize item
on the IE right click menu of a link."
var L_Welcome_MsgBox_Title_Text = "Link Max Size IE"
Welcome()
var WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.RegWrite("HKEY_CURRENT_USER\\Software\\Microsoft\\Inte
rnetExplorer\\MenuExt\\Link
Max Size IE\\", "file://c:\\MaxLink.htm")
WSHShell.RegWrite("HKEY_CURRENT_USER\\Software\\Microsoft\\Inte
rnetExplorer\\MenuExt\\Link
Max Size IE\\Contexts", 0x20, "REG_DWORD")
var fso = WScript.CreateObject("Scripting.FileSystemObject")
var f = fso.OpenTextFile("c:\\MaxLink.htm", 2, true)
f.WriteLine("<SCRIPT LANGUAGE=’JScript’ >")
f.WriteLine("var
hWin=open(’javascript:window.resizeTo(screen.width,screen.height);wind
ow.moveTo(0,0)’);");

f.WriteLine("hWin.navigate(external.menuArguments.event.srcElement.hr
ef);");

f.WriteLine("</SCRIPT>")
f.Close()
function Welcome() {
var WSHShell = WScript.CreateObject("WScript.Shell")
var intDoIt
intDoIt = WSHShell.Popup(L_Welcome_MsgBox_Message_Text, 0,
L_Welcome_MsgBox_Title_Text, vbOKCancel + vbInformation )
if (intDoIt == vbCancel) {
WScript.Quit()
}
}

Please advise if this looks correct or what I need to do to make this
work.

THANKS!
 
No, I posted later that you need that to be named a different filename. Nmae
it MaxLink.JS, not MaxLink.VBS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top