cloferba Posted September 21, 2011 Share Posted September 21, 2011 first at all this is an example this script must enter to http://www.freecontactform.com/free.php and write the variables in certain text boxes, so I have this code: $txt1 = "name" $txt2 = "message" ;start chrome ShellExecute("chrome.exe", "[url="http://www.freecontactform.com/free.php"]http://www.freecontactform.com/free.php[/url]","","") WinWait("Contact Form Free - Google Chrome", "") how can i detect the "Full Name" box and insert the variable 1? and how to do the same for "Message" box and insert the variable 2? finally, how can i press the "Submit Form"? the autoit windows info application doesnt show me the text boxes, thats why i need help Link to comment Share on other sites More sharing options...
Blue_Drache Posted September 21, 2011 Share Posted September 21, 2011 You can't use the _IE() functions to run it in a hidden web browser window and then pipe the output to a custom GUI? Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
cloferba Posted September 22, 2011 Author Share Posted September 22, 2011 i dont want to hide the web browser, just to insert the variables in text boxes.. Link to comment Share on other sites More sharing options...
Beege Posted September 22, 2011 Share Posted September 22, 2011 The autoit info window wont work with any kind of web browser. It might give you the ids of the back button, home, refresh, etc.. but not anything that is web based like the "submit form" button your talking about. Look at all the examples for the Internet Explorer UDF. I see you want to use chrome but chrome does not have any kind of COM. IE has a COM which makes it possible for other scripts or programs to communicate with it and tell it what to do. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
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