albinso / Tale

An extension of the Memoria World of Warcraft addon. Includes a log of notable events and continuous location data.
GNU General Public License v3.0
5 stars 2 forks source link

REQ: Add option to switch to Main chat tab on Ding #25

Open eTzmNcbkrng opened 5 years ago

eTzmNcbkrng commented 5 years ago

I really like the custom line you've added to display time played at the previous level when your character Dings, unfortunately a few of my Ding screenshots are missing this info. I have many chat tabs for different things: General/Trade/World tab, Loot/Tradeskill tab, Experience, Rep and Weapon/Proff skill tab. If I happen to have my loot, or Party/Guild tab open at the time I ding, my /played doesn't get recorded in the screenshot.

Could you add an option (I guess similar to the extend chat frame height option) to automatically switch to the main chat tab just before the Ding screenshot is taken?

This might be useful in other situations also but I'm not sure.

albinso commented 5 years ago

That's a great idea. I'm not sure if there's any API function to switch chat window - but it might be possible to work around it by manually getting the time played and send a message in the current chat window. If we solve this it might also be of interest to the developer of Memoria (@Shadnix-was-taken).

We'll have to see when I'm actually able to make a fix for this but I'm putting it on the todo list.

eTzmNcbkrng commented 4 years ago

I've added a very crude ChatFrame1Tab:Click(); to my code and this seems to do what I wanted.