Please welcome my new script on the block: "Sharpen Corners"
This script removes all control handles from any selected points.
This has the effect of "straightening" all the paths in an object.
This script doesn't actually unround corners, (since you can already do that with the "convert to rectangle" filter.)
I originally wrote it to align 40 points with randomized control handles, but after messing with it a bit, I discovered you can make quick and simple gears by running this script on a star with rounded corners. If you can think of any other cool uses, please post them here in the comments section.
In other news, Nathaniel Kelso is showing my lazy butt up by putting together a sample flash interface for my align text scripts. This is insanely cool, now we can make full featured floating palates as js interfaces. I will play with this more in the coming months. (Although unfortunately, the swf interface works only with CS3. You can check out and download the files from Nathaniels scripts page on the links to the left.
Also in our email dialogue I've figured out how to access masked objects. Illustrator treats them like grouped objects, so you can use the following format to grab the masking object, because it will always be on the top of the stack: (assuming you have only the masked item selected)
Anyway, happy thanksgiving, and happy coding...