Jump to content

Recommended Posts

Posted

I have this function

function loadCOPD() {

AutoItXDLL.Run(pathToExecutable);

AutoItXDLL.WinWaitActive("Login","","5");

AutoItXDLL.Send(username);

AutoItXDLL.Send("{TAB}");

AutoItXDLL.Send(password);

AutoItXDLL.Send("{ENTER}");

}

Once this has ran i am authenticated into my application. I then want to be redirected to another webpage to begin a search.

Is there a quickway to alter or redirect the webpage url that the user is currently on?

Thanks

StewartBlair :)

Posted (edited)

if you google php forwarding your can find alot of results... but thats if your talking about editing the web page..

to have your script launch a page add the following to your script:

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

peace

Z

Edited by Zmaster

A great place to start Autoit 1-2-3

Posted

The actual version of autoit can do this , however, i don't use the ActiveX version , therefore , no idea how .

On the actual version , this can be done by the

_IENavigate function .

However, you'll need to attach to a browser before performing the action by using _IEAttach

Posted

if he can tell us more clearly what he means it would be easier to help if he wants the script to navigate to a new page the bit i posted before works great if he wants the page it self to change then he can use a bit of php or html php works better because using html will break the chain of pages meaning the back button wont work.

A great place to start Autoit 1-2-3

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...