Page 1 of 1

AchievementsWnd TreeView

Posted: Mon Oct 30, 2017 9:28 pm
by dewey2461
I have been trying to figure out a good way to check progression on several toons.

The best way I know of is to look up the achievement, however, the achievement window TreeView "ACH_Categories" does not appear to have any way to interact via MQ2.

Any suggestions?

Re: AchievementsWnd TreeView

Posted: Mon Oct 30, 2017 9:44 pm
by EqMule
I looked into creating a mq2Achievements plugin a few months ago when someone asked me for it, all I can tell u is that its complicated and requires a bunch of stuff being added to the plugin to be able to iterate through them.

I'm not saying that to discourage you from doing it, just being 100% honest, it is tricky to say the least. I got as far as being able to /listach and it listed them all...

If I ever finish it at some point it would most likely be as a crowdfund campaign cause of how much time is needed to do it...

Re: AchievementsWnd TreeView

Posted: Mon Oct 30, 2017 10:12 pm
by dewey2461
It does look like the treeview is maintained / populated differently. Just have to find another way to skin the cat. Thanks for the feedback.

Re: AchievementsWnd TreeView

Posted: Mon Oct 30, 2017 10:19 pm
by MacQ
dewey2461,

If you can create this kind of macro, that would be amazing.

Three years ago you helped by developing a similar macro for determining needed collections. I always remembered that macro and how you navigated the tree. Hopefully you will do the same with progression.
https://macroquest2.com/phpBB3/viewtopi ... ct#p166371

Re: AchievementsWnd TreeView

Posted: Tue Oct 31, 2017 1:15 am
by dewey2461
As eqMule points out we don't currently have the tools to manipulate the TreeView. With out that we don't have a good way of selecting an entry. I tried multiple /notify commands and at best, I can open a psuedo random entry via /notify AchievementsWnd ACH_Categories leftmouseup but it is what ever happens to be in the center of the viewable list.

On the other hand, it might be possible to catch a link to a particular achievement and have your character open the link and click the "view mine" which then opens the achievements window to the entry we want.

I have tested /notify AchievementWnd ACHI_ViewMineButton leftmouseup and it does the right thing so it might be possible to work around it for specific cases.