cypher175 Posted February 24, 2009 Share Posted February 24, 2009 how would i make my script/app visit this site http://browsershots.org/?url=http://www.abc.comand then hit the submit button on that site..?? Link to comment Share on other sites More sharing options...
Authenticity Posted February 24, 2009 Share Posted February 24, 2009 Look at the _IE* functions (include IE.au3) and check the help file of-course, the example there are quite sufficient to build your script without waiting for explanations that are already presented. Link to comment Share on other sites More sharing options...
SpookMeister Posted February 24, 2009 Share Posted February 24, 2009 You have a lot of reading to do. Check out the help file. Go to the Contents Tab, then browse down to "User Defined Functions" then to "IE Management". Start out with IE Example and IE Introduction. After you get a grip on those things... try to cobble something together and if you are having trouble, post your code with your questions here on the forums. Good Luck [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
cypher175 Posted February 24, 2009 Author Share Posted February 24, 2009 well is there a UDF or function or whatever that can press a submit button on a website at all..?? Link to comment Share on other sites More sharing options...
SpookMeister Posted February 24, 2009 Share Posted February 24, 2009 Yes.. now go read like I told you to and you will find it. [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
Authenticity Posted February 24, 2009 Share Posted February 24, 2009 Yup, please read the help file. It's useless to wait for people to answer your question if you can check it your self using the help file under the functions that start with _IE. As for your question, after you get an object reference to the form or perhaps a button you can use _IEFormSubmit($oForm) or _IEAction($oButton, 'click'), respectively. Link to comment Share on other sites More sharing options...
SpookMeister Posted February 24, 2009 Share Posted February 24, 2009 For the record... I'm not just being a jerk by not telling you the answer. You simply do not yet have enough subject knowledge to be able to understand the answer. In reading and experimenting with the examples in the help files that I suggested you will find everything you need. [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
cypher175 Posted February 24, 2009 Author Share Posted February 24, 2009 ok i figured out the click submit part and it worked, but I have trouble with another part with selecting all the browsers on that site witch seems to be a Javascript object..<div class="clear" style="height: 10px;"></div> <div id="selectors" class="clear">Select: <a href="java script:select_browsers('++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++')" onfocus="this.blur()">All</a>What do I do to press that "All" link..?? 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