the script allows straigthen edge selections, with the dialog a fixed distance can be set for outer vertices, a distance of 0 means projected distance (default).
should work on max5.1 and up
EDIT: did a new version 0.8
size of edge series affects outcome
for 1 edge it is turned to a loop of 3 edges, and then modified
for 2 edges, simple straighten is done
for 3 or more edges they are modified with the dialog value
also added another macroscript to open the dialog