Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Edit the default window size of new Explorer windows Web Browsers
For the last couple of months, all new windows I opened in Internet Explorer were really small, with a width of about one quarter of the screen, and showed up on the right side of the screen. Trashing Explorer preferences did not fix it since, as I found out today, the default window size for the Explorer is stored in com.apple.internetconfig.plist found in ~/Library -> Preferences. Instead of just trashing this file, which would have required resetting of a lot of preferences, I tried to find the relevant line and just change it.

To do this, first quit Explorer, open the .plist file with the PropertyList Editor (should be the default if you have the Dev Tools installed), open the first three triangles, scroll down to 'InternetExplorerWindowPosition' and open its triangle. The second block of numbers sets the window size; in my case they looked like: 031c045a, 31 sets the height of the window, 45 the width. Change the numbers, save the file, restart Explorer.

Now if someone could find out where the size of windows resized with the green button is set, I would be happy!
    •    
  • Currently 1.83 / 5
  You rated: 2 / 5 (6 votes cast)
 
[22,324 views]  

Edit the default window size of new Explorer windows | 14 comments | Create New Account
Click here to return to the 'Edit the default window size of new Explorer windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Small correction
Authored by: hamarkus on Aug 18, '03 10:29:52AM

The second block of numbers does not set the height and width, as I thought, but the position of the lower right corner, the first block sets the position of the upper left corner. A useful string would look like this:
<002d0001 031d0451 00000000 00000356 0500>

Unfortunately, this modification did not survive a logout, the window size went back to what it was before. When I deleted the com.Microsoft.Explorer.plist file, it survived a logout (but no new Explorer.plist file has been created so far).



[ Reply to This | # ]
Edit the default window size of new Explorer windows
Authored by: osxpounder on Aug 18, '03 12:16:23PM

I also would like to know if there's a way to set the default size for at least one of the "Zoom" states that is toggled when the green "+" button is clicked. It seems to me that it *ought* to be impossible, by design, to set one of the two states as a fixed position and size, since the point of the Zoom function is to adapt the window to your screen's size. If your monitor resolution were changed, or if you were using a 2nd monitor, then fixing both Zoom states would mean that the window could not adapt to the monitor's resolution. Still, I can imagine good reasons why one, not both, of the Zoom states could be specified at a fixed point with fixed dimensions.

Since you mention this, I wonder too if it would be possible to set, system-wide for every app, a hotkey [shortcut key] for the Zoom function. I've yet to encounter a program that uses a hotkey for window Zooming, but that seems to me one of the best places for one. Think about it: if your window isn't appropriately sized so that you can mouse-drag the bottom right corner, you have to move the window around first, then find the corner, then drag it. Sometimes, after changing the monitor resolution, my Aqua windows show up with their title bars beneath the Apple menu bar, and I must use the Window menu to Zoom the window before I can move it since I can't click on the obscured title bar.

---
--
osxpounder



[ Reply to This | # ]
Edit the default window size of new Explorer windows
Authored by: atFault on Aug 18, '03 09:50:48PM
Correct me if I'm wrong, but it has always been my understanding that the Mac OS optimizes and not maximizes windows when the green button (+) is pushed. The correct labeling for window buttons should be: close, minimize and optimize. It appears the (+) is misleading. I seem to remember reading documentation regarding this 'feature' in Mac OSs prior to X, but I'm not sure how far back it went. You should rarely see a window that is optimized to where it is the same as the screen size; in most cases you should just see the appropriate number of columns, all content of a page or all the folder icons contained within a folder, and no more, leaving your desktop as open as possible. There are details regarding it's function that elude me, and it is far from perfect, but if it is used to instantly obtain the optimized window size it can be productive.

Mark

---
Let me through, let me through, I got here late.

[ Reply to This | # ]

Edit the default window size of new Explorer windows
Authored by: Paul Burney on Aug 18, '03 12:26:23PM

This is a very old trick that has worked since the very early days of Mac web browsers.

- Launch the program.
- Resize the window to the size you want
- Quit the program

Next time you launch the browser, it will be that size for the default.

The probable reason it happened to you is because the last window closed when you quit was a small pop up window.



[ Reply to This | # ]
Edit the default window size of new Explorer windows
Authored by: hamarkus on Aug 19, '03 05:53:40AM

Though that works for me now, I am pretty sure it did not work before I had modified com.apple.internetconfig.plist and deleted microsoft.explorer.plist, since I've resized a lot of windows over the last couple of months and had quit the explorer inbetween and still all new windows kept popping up on the right side of the screen. Maybe some strange interaction between these two pref files.



[ Reply to This | # ]
Edit the default window size of new Explorer windows
Authored by: Syncopator1 on Aug 24, '03 05:16:07AM

You don't even have to quit the program. Just make sure the last open window is your preferred size, then close it. Then open a new window, and it'll be the same size.



[ Reply to This | # ]
Internet Explorer?
Authored by: readparse on Aug 18, '03 02:46:48PM

Somebody's still using Internet Explorer for Mac? Holy cow. I'm sure you have a good reason, but just in case...

Jump on Safari or Camino. They both rock. IE is on it's way off the platform, so it's basically a lame duck. A lot of sites, particularly those that deal with important data, like banking sites, require that you use MSIE. But Safari lets you change the user agent (the browser identification string) right from the menu. Camino might do the same... I don't remember.



[ Reply to This | # ]
Internet Explorer?
Authored by: kcamera on Aug 18, '03 06:00:27PM

How exactly do you change the user agent in Safari? I've never seen a way to change that in all the menus I've found...



[ Reply to This | # ]
change Safari user agent
Authored by: Krioni on Aug 18, '03 08:28:17PM
Try this thread on MacOSXHints.comand read the info about enabling the Debug menu.

[ Reply to This | # ]
change Safari user agent
Authored by: superrcat on Aug 20, '03 12:24:01PM

Although you may get a site to work by changing the User Agent, you might be doing more harm then good in the long-run.

If sites start seeing Safari users coming to their site, they are more likely to consider making their site more standards-based.

If they just see users sticking to Internet Explorer and that is the majority of the traffic they get for their site, they are less likely to do anything for Safari users.



[ Reply to This | # ]
Internet Explorer?
Authored by: megamac on Aug 18, '03 08:28:20PM

Hihi,

There is an application that un-hides the debug menu in Safari. You can download it from versiontracker. It is called Safari Enhancer. Click on this to go to the download page:

http://www.versiontracker.com/dyn/moreinfo/macosx/17776

regds

MM



[ Reply to This | # ]
Internet Explorer?
Authored by: megamac on Aug 18, '03 08:21:30PM

You are kidding right?

Spoofing does not always work with Safari. Banks both in the UK and in the US do not support it (Citibank is a good example) and the javascript in Safari is far from perfect. A lot of e-commerce sites do not work with it (Warner Village Cinemas for example)

As much as I would love to wipe the IE from my Applications directory, I know that in this very real world the chances of this happening are one in a million.


MM



[ Reply to This | # ]
Internet Explorer?
Authored by: digitol on Aug 18, '03 11:16:04PM

Who the *censored* cares about Internet Exploiter, Exploder, whatever!! WTF, Get this *censored*ing hint out of here!!! IE is dead, over, finished, discontinued, figneto for the mac, get a mac use mac..that's all i'm done here, just don't waste anymore of my *censored*ing time.



[ Reply to This | # ]
Internet Explorer?
Authored by: osxpounder on Aug 22, '03 04:38:19PM

What a grouch. Dude, you need to chill.

---
--
osxpounder



[ Reply to This | # ]