O.P. Auto Size URL window
This is a batch file to open two urls in IE with specific position & size that you want.
start iexplore.exe javascript: resizeTo(1024,240);moveTo(0,0); document.location.href="http://yahoo.com"
PING 1.1.1.1 -n 1 -w 2000>NUL
start iexplore "http://google.com"
But currently XP does not allow this to work(due to security reasons). Does anyone know how to get around it?
The javascript command works perfectly when given in 'favourite' URL but it does not run from a batch file.
For those who are interested in this..how its done:
javascript: resizeTo(1024,240);moveTo(0,0); document.location.href="http://yahoo.com"
Open the Favorites menu, right-click on an item, and choose Properties. In the URL field, enter the JavaScript command shown above, specify the size and position you want.IE will complain The protocol "javascript" does not have a registered program. Do you want to keep this target anyway? Click on Yes.
This post was edited on 10-10-2005 at 05:30 PM by shine.
|