Ok here's -one- example: Here's how he has alignu defined in the button handler: <font class="small">Code:</font><hr /><pre> on alignu pressed do ( uvsel = uv.getselectedvertices() as array mid = 0.0 for i in uvsel do ( mid += (uv.getvertexposition currenttime i).x ) mid /= uvsel.count undo "Align U" on ( uv.forceupdate…
EDIT: Hmmm, I don't really have time to mess with it to make it work (the script is setup a bit different organizationaly than i like, and i don't feel like rearranging/rewriting the whole script); but you could just make it a totally stand alone macroscript by adding the uv variable definition inside it. local UV =…