Sign in to follow this  
Followers 0
saurabh

Open url and position it to x,y co-ordinate

2 posts in this topic

#1 ·  Posted (edited)

Hello,

i need to open a website via script and want my window position to particular x,y position as i want...

i am simply using

ShellExecute ("http://www.google.com.au")

or by

#include <IE.au3>

$oIE = _IECreate()

_IENavigate($oIE, "http://www.google.com")

please any 1 help me on this

Edited by saurabh

Share this post


Link to post
Share on other sites



saurabh

When you use ShellExecute(), it all depends on the browser what's default on the PC. Then would I recommend your _IECreate() script. Then you always know what browser is used: Yep, Windows Internet Explorer.

If you also know the title of the page you want to open (in this case Google) and you know how the title of IE is made, you can make with these things the title of the window. In this case it's: (title of page) - Windows Internet Explorer.

Then simply use WinMove("Google - Windows Internet Explorer", "", xpos, ypos) and move it to the position you want. :)


PowerSlide2UnlockiPhone look-a-like program you can use to lock your pc, you can't access your desktop again until the password is entered and the slider slided to the right. (really proud of it)-- After a time AutoIt and Windows, I switched to Mac. Don't expect me to answer anymore.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0