Jump to content

Search For String In Window To See If It Exists?


Recommended Posts

I have a Lotus Notes inbox that i have to refresh and I am looking for particular messages that come in and always have the same subject line. I would like to be able to refresh the window (I have all this done) and then search to see if those emails are in there (this is what I need help on). If they are in there, I have some other things that I am going to have the script do which I think I know how to code. I just can't figure out how to scan for text. I have read the help file, I have searched the forums for Lotus and for text search and several other things, but can't seem to figure it out. Can someone point me in the right direction?

Link to comment
Share on other sites

WinExists ( "title" [, "text"] )

http://www.autoitscript.com/autoit3/docs/f...s/WinExists.htm

Specify the text your searching for.

However, that might not work for text inside a control within a window...give it a shot. if it doesn't work, post back here.

Edited by sshrum

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Link to comment
Share on other sites

If you are new to AutoIT and would like to get the basics down quicker, check out this awesome new coaching tool...

And if you find it useful ...vote :)

http://www.autoitscript.com/forum/index.php?showtopic=24117

~Projects~1. iPod Ejector 1.0 - Tool Used To Eject iPod in Windows - Uses DevEject.exe :P2. SmartFTP Close Popup Tool - Closes reminders from freeware SmartFTP.~Helpful Links For New Users~1. LXP's Learning AutoIT PDF Guide - <<< Go here for a PDF Guide on learning AutoIT from the ground up!<<<2. AutoIt 1-2-3 <<<Want to learn more about AutoIT quickly? Go Here<<<3. How To Install The Beta And Production Versions Of AutoIT / SciteAutoIT

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...