See question above. So far script does this, have script or know how to do anything with a # in front of it
#user loads shapefile and either selects features or uses entire shapefile
# run a bunch of tool snippets
# create and calculate fields
# split polylines, densify @ 10ft, create vertices,
# create points at start and end of each polyline
# select all points
#zoom to selected
# create polygon with extent of selected features buffered by 10%
what i need to do is capture the extent of the activeview at this point so i can set the geoprocessing output extent to manipulate a few rasters, and create a slope layer......... this will be done at multiple scales by different users in varying area of a state