Illustrator Main Menu > Object > Path > Optimize/Vary Width Markers...
Both Optimize Width Markers and Vary Width Markers can be recorded and played back as Actions.
Actioned Very Width Markers