Pintu Posted December 16, 2017 Posted December 16, 2017 (edited) Good evening guys, i'm having a problem, not about the code (i'm only thinking about it at the moment) but about the way i can do it. I have a webpage (photo N.1) it has some elements in it. I need only the table (photo N.2), looking at the code and with _IEFunctions i can easy find the table but how i can i "copy" it? As i said it's really easy to found with a script but what should i do then? Copy the source? And how can i display it to the user? In my head i'd like to display it inside a GUI, is that possible? Thanks in advance Edit: Posted 2 times same photo. Now should be OK Edited December 16, 2017 by Pintu
czardas Posted December 16, 2017 Posted December 16, 2017 (edited) Well there are several ways. You could use _ArrayDisplay() but creating the array may be overcomplicating things at this stage. Take a look at example 4 for _IECreate(). This might give you some clues. If you have successfully extracted the html for the table, then you could simply use _IEBodyWriteHTML(): as in the example (EDIT ... can also be embeded in a GUI). More advanced methods include using a ListView control inside a GUI. Perhaps it would help to spend a bit of time researching these methods. See what you can discover about them and ask if you don't understand something. Edited December 16, 2017 by czardas operator64 ArrayWorkshop
jdelaney Posted December 17, 2017 Posted December 17, 2017 (edited) _IETableWriteToArray _ArrayDisplay to display it...or if you do want a gui for whatever reason: GuiCreate GUICtrlCreateListView links to the helpfile: _IETableWriteToArray _ArrayDisplay GuiCreate GUICtrlCreateListView Samples are provided for each. Edited December 17, 2017 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
czardas Posted December 17, 2017 Posted December 17, 2017 (edited) @jdelaney Easier than I thought. Edited December 17, 2017 by czardas operator64 ArrayWorkshop
Pintu Posted December 17, 2017 Author Posted December 17, 2017 @czardas @jdelaney thanks guys, that was what i was looking for. I'm pretty good with AutoIT but totally not on web related part of it. Thanks god AutoIT has a great community. Have a nice day guys and thanks again czardas 1
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