The gaol from that is to help in producing the code then the user can customize it after that. And there is no need to be strict process like action in Photoshop or Illustrator. And is it possible to acheive that using a plugin to record that and if there is a plugin like that can any one guide me to.
This is a request that has been made from time to time (including by me). You can add to the count of users who would find it useful by filling out the form at Adobe - Feature Request/Bug Report Form
North America
Europe, Middle East and Africa
Asia Pacific