Van Posted November 18, 2006 Share Posted November 18, 2006 Hi!! How can I take a image on a Internet Explorer Application and show it in box? I want to take a image code and show for the user can type the code and them the script will submit the form. The image is in this form: https://visitante.cadastro.uol.com.br/index.html?skin=/bol []'s Link to comment Share on other sites More sharing options...
Sunaj Posted November 18, 2006 Share Posted November 18, 2006 Hi, You can look in the Autoit help file under "User Defined Functions", there you'll find "IE Management" which can do ALOT when it comes to interacting with html..etc. I see this is your first post, if you're new to the AU3 language I recommend that you undertake a MUCH simpler project and then try this one later on (then you also have some code to share..etc.)... Anyways, overall you can do something along the lines of fetching the html (_IEDocReadHTML) and then use a regular expression (StringRegExp) to fetch the URL of the image you need.. then download..etc.etc. Cheers, Sunaj Hi!! How can I take a image on a Internet Explorer Application and show it in box? I want to take a image code and show for the user can type the code and them the script will submit the form. The image is in this form: https://visitante.cadastro.uol.com.br/index.html?skin=/bol []'s [list=1][*]Generic way to detect full path to default browser, List/ListView Events Using GuiRegisterMsg (detect doubleclick and much more)[*]Using dllcall for full control over fileopendialog, Make DirMove act somewhat normally (by circumventing it...)[*]Avoid problems with "&" (chr(38)) in code, Change desktop maximized area/workspace (fx to make deskbar type app)[*]Change focus behavior when buttons are clicked to work closer to 'standard windows' app[*](Context) Menus With Timed Tooltips, Fast Loops & Operators in AU3[*]Clipboard UDF, A clipboard change notification udf[/list] Link to comment Share on other sites More sharing options...
DaleHohm Posted November 18, 2006 Share Posted November 18, 2006 Using IE.au3 and other AutoIt commands you can download or display images from webservers... but I see that the image you are asking about is part of a validation systems. Those images are generated by server-side code uniquely with each connection to the server, so there is much more to interacting with them than what you allude above. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Van Posted November 18, 2006 Author Share Posted November 18, 2006 Hi, You can look in the Autoit help file under "User Defined Functions", there you'll find "IE Management" which can do ALOT when it comes to interacting with html..etc. I see this is your first post, if you're new to the AU3 language I recommend that you undertake a MUCH simpler project and then try this one later on (then you also have some code to share..etc.)... Anyways, overall you can do something along the lines of fetching the html (_IEDocReadHTML) and then use a regular expression (StringRegExp) to fetch the URL of the image you need.. then download..etc.etc. Cheers, SunajHi! Its not my first contact with AU3 language. Its just my first post. I will try your tips! Using IE.au3 and other AutoIt commands you can download or display images from webservers... but I see that the image you are asking about is part of a validation systems. Those images are generated by server-side code uniquely with each connection to the server, so there is much more to interacting with them than what you allude above. Dale Hi! I know that image is generated by server side script. I just want to do a connection with the site, fill the form with random information, display the image to the user. User will write the image code and the AutoIt script will fill this information in the form and send it. I just want to automatize the process, being very simple. []'s 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