We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

IE Window Loading Diffrent Size

Hi, Is it possbile to creat a sortcut that open the internet explorer at a diffrent size to normal for that particular webpage?

Thanks Tom :-)

Comments

  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    You could try the technique described in post 3 here, however I couldn't get it to work with IE6 (IE seems to flash up and disappear). You'll want to include the web site URL in the Javascript part of the Target like this:
    javascript:resizeTo(900,720);document.location.href='http://www.moneysavingexpert.com'
    
    If that doesn't work for you, try the following script:
    'IEwindow.vbs
    'Opens a web site in IE with a specified window size
    
    Option Explicit
    
    Dim args, url, ie
    
    set args = WScript.Arguments
    if args.Count > 0 then 
    	url = args(0) 
    else 
    	url = InputBox("Please enter web site URL (http:// optional)")
    end if
    if url = "" then WScript.Quit
    
    Set ie = WScript.CreateObject("InternetExplorer.Application")
    ie.height = 500
    ie.width = 700
    ie.left = 100
    ie.top = 100 
    ie.Visible = true
    ie.Navigate url
    
    Copy it into Notepad and save it as IEwindow.vbs. Next, create a shortcut to IEwindow.vbs on your desktop. Right-click the shortcut and click Properties. On the Shortcut tab, modify the Target by putting wscript at the start and the web site URL at the end, so that it looks like:

    wscript "C:\Documents and Settings\Me\My Documents\IEwindow.vbs" https://www.moneysavingexpert.com

    The file path in quotes will be different, depending on where you saved the vbs file. If you omit the URL, the script prompts for it when run.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 352.1K Banking & Borrowing
  • 253.6K Reduce Debt & Boost Income
  • 454.2K Spending & Discounts
  • 245.2K Work, Benefits & Business
  • 600.8K Mortgages, Homes & Bills
  • 177.5K Life & Family
  • 258.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.