Jump to content
Sign in to follow this  
C00kie

How to read data from IE

Recommended Posts

C00kie

Hi guys,

Could you please assist me with the following:

I have created the code to open IE page click there and there and then I have this table like data(pic1.jpg) and I want to search for testemail@domain.com and then AutoIT automatically to copy the ID of the person.

I have made a screenshot of the "Inspect element" from Chrome as well (pic2.jpg).

Please accept my apologies for not giving the full source code but the data is confidential :'(

pic1.jpg

pic2.jpg

Share this post


Link to post
Share on other sites
Chimp

have a look to the _IETableWriteToArray function


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites
C00kie

Thanks for the reply.

I got it to work and I have my whole table with the users in it.

Could you please tell me now how can I search by email address (via MsgBox input) and then display only the row that I am interested in?

Share this post


Link to post
Share on other sites
Chimp

in short:

use InputBox to get the user input for the email address

use _ArraySearch() to find the row in the array that contains the searched email

use the index returned by _ArraySearch() to point to that row and the number of the column that contains your wanted data to get that value from the 2D array.


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×