So, I am trying to automate and simplify the retrieval of data from our company website (made by an outside company). I've had experience with IE manipulation via autoIt however, this one is a bit tricky for me.
I have a table that has 81 cells which are buttons. What im trying to get is the information in "data-content" tag.
$oTagsCell = _IETagNameGetCollection($oIE, "td") For $item in $oTagsCell $test = _IEPropertyGet($item, "innertext") ClipPut($test) Next $oTagsTable = _IETagNameGetCollection($oIE, "table") For $item in $oTagsTable $test = _IEPropertyGet($item, "innertext") ClipPut($test) Next $oTagsLink = _IETagNameGetCollection($oIE, "a") For $item in $oTagsLink $test = _IEPropertyGet($item, "innertext") ClipPut($test) Next I don't receive any errors from my aforementioned attempts however no luck in getting those "data-contents". Attached is a screenshot, I do the looking of elements in chrome but the codes are for IE. And if you might ask, the cells (or buttons) have the same ID.
Thank you guys for any inputs.
At work we have some proprietary website, users have to login to.
I have "made" an autoit executable to start IE, go the website, login, so the user do not have input their credentials every time.
By NDA I am not allowed disclosed the URL of the website nor the login credentials
So I made a fake website and an autoitscript to illustrate my question.
#include <ie.au3> $oIE = _IECreate ("about:blank", 0, 1, 1, 1) $HWND = _IEPropertyGet($oIE, "hwnd") WinActivate ($HWND,"") WinSetState($HWND, "", @SW_MAXIMIZE) _IENavigate ($oIE, "http://demo.rkilinc.nl",1) The above start my demo website. The actual website has some links in the footer that I do not want most people click on.
I contacted the developers of the website and they are thinking of making an option to configure what links to show in the footer, but they said it's not a high priority for them.
I discovered, that by click F12 and deleting the <footer> element the footer is delete from the live page view (until the page is reloaded off course)
I want to automate the removal of the footer, without using things like send().
I tried getting the footer with _IEGetObjById and deleting it with _IEAction, but that didn't work.
Does any one has an idea how I could delete the footer directly from view with an autoit script?
Just had an idea and wanted to know where to start. I want to download a screenshot of a website automatically into a .png .jpg ect format so I can then set it as my desktop background.
This might be for for news: When the latest news is added to a website a screenshot of that website is saved and added to my desktop background.
I have tried using website that already do the screenshot but you have to open the website and click the button for it to generate one and thus InetGet does not help.
Is there any UDF to remove all anchor tags <a> with a particular class (and also its sub elements completely) in a html document.
Here the classes are browse and breadcrumbs
Like in the below image.
I am not able to find that option in IE.au3
I am trying to automate something in a web browser but i need some help with finding the html code to a web applet. How do I access the code.