As part of the texture changing HUD, I’ve needed to write a few small tools to help with setup. One of these is a texture UUID (univerally unique identifier -referred to as key in LSL) dumper, for helping with scripting. Requires that the textures are full perms due to Second Life’s permissions model.
To use, drop this script into prim inventory along with the textures to extract UUIDs from, then click to activate. It will read in all the textures, warn on any problem cases, then print out the pre-formatted list.
XStreetSL: https://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=1447132
Second Life: http://slurl.com/secondlife/Sunweaver%20Air/195/25/141
Edit: Now available in Second Life due to high demand.