Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted

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.

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

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

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
×
×
  • Create New...