Start up IE maximized through a vbs file



I have this written this script to run on XP Pro:
the script is named script.vbs and I call it from a batch file.
**************************************************************************

set Shell = createobject("wscript.shell")
Shell.Run "http://peso.ubalt.edu/portal.html",3
wscript.quit


DIM IE
Set IE = CreateObject("IExplorer.exe")
maxx=screen.availWidth
maxy=screen.availHeight
ie.left=0
ie.top=0
ie.height=maxy
ie.width=maxx
wscript.quit


*************************************************************************



It doesn't always open Internet Explorer as full screen.


I can do batch scripts well but do not really know wsh or vbs well.
Can anyone clean this up for me

.



Relevant Pages

  • Re: How to run a batch file upon logging off
    ... If XP Pro, use Group Policy. ... Local Computer Policy\Computer Configuration\Windows Settings\Scripts ... Create a logoff script, add it to the group policy editor ... I have a batch file which backs up about 500kb of data to floppy ...
    (microsoft.public.windowsxp.basics)
  • Re: Login Script group membership
    ... Would it be more managable to write this as a vbs instead of a batch file? ... script, as not all o/s's can run a .vbs file directly as a logon script. ... - you'd need to write a wrapper function to invoke ifmember and return the ... In the general case a user can be a member of any number of ...
    (microsoft.public.windows.server.scripting)
  • Re: Win 98 client WSH "Can not find script file"
    ... My theory is that the client unmaps z: before wscript ... more statements to the batch file after the VBScript program is called. ... >> REM ** Execute VBScript logon script program. ...
    (microsoft.public.windows.server.scripting)
  • Re: Command or setting to force monitor on?
    ... Keystrokes vbs script? ... But the same symptoms as without cscript, monitor not waking up, when I ... I set up a batch file containing the commands to first start IE, ... could move to the keystrokes command. ...
    (microsoft.public.windowsxp.general)
  • Re: Loginscript occasionally failing
    ... clients, where the ... >the end of batch file, so the client won't remove Z: ... >run the logon script. ...
    (microsoft.public.windows.server.scripting)