What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Auto Size URL window

Auto Size URL window
Author: Message:
shine
Veteran Member
*****

Avatar
Recharging......

Posts: 1004
Reputation: 15
49 / Male / –
Joined: Jul 2002
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.
10-10-2005 05:30 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Auto Size URL window
make a local version with that code in it?
[Image: 1-0.png]
             
10-10-2005 06:14 PM
Profile PM Web Find Quote Report
shine
Veteran Member
*****

Avatar
Recharging......

Posts: 1004
Reputation: 15
49 / Male / –
Joined: Jul 2002
O.P. RE: Auto Size URL window
As I said earlier, it does not run from a batch file. XP automatically closes the opened window
10-11-2005 05:00 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Auto Size URL window
Works fine for me...

Using XP SP1.

But does it close ie because of the javascript or something else, cause if it's because the javascript then you could make a local file, with a redirect to yahoo and that resizing javascript.

Edit: Just out of curiosity, why open a strange deformed yahoo search, ping to a broadcast ip and trow away the results and open google?

This post was edited on 10-11-2005 at 06:40 PM by Ezra.
[Image: 1-0.png]
             
10-11-2005 06:39 PM
Profile PM Web Find Quote Report
shine
Veteran Member
*****

Avatar
Recharging......

Posts: 1004
Reputation: 15
49 / Male / –
Joined: Jul 2002
O.P. RE: Auto Size URL window
Thanks for your response.

Yeah XP SP2 blocks that :sad:

Why open that..hehe ,,thats secret... It is for work purpose. I need few URL to be opened at the same time  and tile them for comparing data..Wants to automate that process. :)

10-11-2005 08:39 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Auto Size URL window
Try to do it with Visual Basic, it might be a little harder but in the end it will work a lot better than batch files :P
[Image: 1-0.png]
             
10-11-2005 09:02 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On