I need to find a script, or make a script that does the following:
1) takes selected layer(s) name, position data of the top left, top right, bottom left, bottom right of a precomp layer.
2) takes the dimensions of those same precomp(s)
3) exports to a CSV
So CSV would read something lie
Name; top left; top right; bottom left; bottom right; dimensions
Layer-01; 0,0; 0,5; 5,0; 0,5, 5,5
Layer-02; 0,10; 0,20; 10,10; 10,20; 10,10
This would tell me that a layer is in the top left of a comp and it's 5x5 pixels and it's called Layer-01 and there's a second layer that's somewhere else, etc etc.
Any ideas?