Dealing with child windows - May 17 zip

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

BrainDeath
a ghoul
a ghoul
Posts: 86
Joined: Sun Mar 07, 2004 5:00 pm

Dealing with child windows - May 17 zip

Post by BrainDeath » Tue May 18, 2004 11:03 am

Latest zip broke my tradeskill macro :(

I've figured it out, but before I go to the trouble of fixing it, I just wanted to make sure MQ2 is working as intended.

For example, the way I was checking before to make sure that the name of the enviro I had opened was what was expected i was using:

${Window[TradeskillWnd].Child[ContainerName].Text}

With the most recent zip, I can only find this info by using:

${Window[tradeskillwnd].Child[combw_rightsidearea].Child[combw_containerarea].Child[containername].Text}
or
${Window[tradeskillwnd].Child[combw_rightsidearea].Child[combw_containerarea].Child[combw_containername].Text}

Of course the same applies to all the buttons, lists, etc.

While I am sure this is technically accurate, I just wanted to make sure this was the expected behavior before I modified my macro.

I was also wondering which it would be better to use for people with custom UIs.

Thanks!

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue May 18, 2004 2:48 pm

Hmmmm I'll have the get child function check children for children too, right now its only looking for siblings, and thats what the issue you're seeing is
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

BrainDeath
a ghoul
a ghoul
Posts: 86
Joined: Sun Mar 07, 2004 5:00 pm

Post by BrainDeath » Thu May 20, 2004 3:12 pm

Lax,

Dumbass that I am, I did manage to figure out I only needed to go down 1 level as in :

${Window[COMBW_ContainerArea].Child[COMBW_ContainerName]}

But I went ahead and updated all the Window references and /notify statements in my macro to get it working again. So I don't know that any change to MQ2 is needed unless it's just not functioning the way you intended.

And if I haven't said it before, kick ass job on all the changes you (and the other developers) have made as well as the speed with which you get updates out. :D