UV layout export

just trying to export the UV layout as a TGA
What the [email protected]#$% does this mean
IndexError: list index out of range

It usually means that the Object is not selected, or more correctly, not Active.

If that doesn’t solve your problem there’s a link to an updated version of that script in this thread: