pdaughe Posted December 23, 2006 Posted December 23, 2006 If $LVFI_PARTIAL is specified, the left-most characters of each item's text are compared with the search string (i.e. item text BEGINS with search string). The documentation states that if only $LVFI_STRING is specified, the item text must exactly match the search string (i.e. exact match), unless other values are specified. Question: Is $LVFI_PARTIAL currently the only other "other value" that can be specified? That is, is there a value that can be specified to perform a "item text contains search string"?
PaulIA Posted December 23, 2006 Posted December 23, 2006 If $LVFI_PARTIAL is specified, the left-most characters of each item's text are compared with the search string (i.e. item text BEGINS with search string). The documentation states that if only $LVFI_STRING is specified, the item text must exactly match the search string (i.e. exact match), unless other values are specified. Question: Is $LVFI_PARTIAL currently the only other "other value" that can be specified? That is, is there a value that can be specified to perform a "item text contains search string"?You'd have to look through all of the control text and look for the substring. I have added a function to Auto3Lib that will allow you to do a "StringInStr" type search for an item (or subitem). The next release will be either later on today or tomorrow if you want to take a look. Auto3Lib: A library of over 1200 functions for AutoIt
pdaughe Posted December 23, 2006 Author Posted December 23, 2006 You'd have to look through all of the control text and look for the substring. I have added a function to Auto3Lib that will allow you to do a "StringInStr" type search for an item (or subitem). The next release will be either later on today or tomorrow if you want to take a look.Thanks for the reply! You bet I'll take a look! Thank you so much for your hard work.
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