Sign in to follow this  
Followers 0
rejectpenguin

_IEGetObjById without full ID

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

#3 ·  Posted (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.

:blink:

Edited 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

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  
Followers 0