Originally Posted by nehegeb
...in general I need a Macro that tells me, what texturepath a visible texture on the UI has got, so that I can use exactly this texture for my addons.
|
Well, if you're trying to figure out which textures are used by default UI stuff, you could just look at Blizzard's code.
http://wowcompares.com/
Otherwise, you're going to run into tons of issues trying to use macros to find textures. Some textures are Backdrops, while others are StatusBarTextures, and others are Texture regions that are either unnamed or don't follow any consistent naming pattern. There's pretty much no way to write a macro that will catch all of those cases
and correctly identify which of a frame's child Texture regions you want.