rejectpenguin Posted July 29, 2010 Share Posted July 29, 2010 Hey, is there a way I can use _IEGetObjById without knowing the full name of the id. I have bb_950858962 bb_950858961 bb_950858960 bb_950858959 I want everything that matches bb_ to get put in an array kinda like it would be with _IETagNameGetCollection. Link to comment Share on other sites More sharing options...
bo8ster Posted July 29, 2010 Share Posted July 29, 2010 Not sure but maybe StringRegExp? Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 29, 2010 Share Posted July 29, 2010 (edited) You would need to get the collection, then walk through it with a For/In/Next loop, checking each $oElement.id property for whatever pattern you want. Edited July 29, 2010 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
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