stewartblair Posted January 8, 2009 Posted January 8, 2009 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
iHonda Posted January 8, 2009 Posted January 8, 2009 (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 January 8, 2009 by Zmaster A great place to start Autoit 1-2-3
Innovative Posted January 8, 2009 Posted January 8, 2009 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
iHonda Posted January 8, 2009 Posted January 8, 2009 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now