Script Attributes

Can anyone help me to create a script that will edit attributes in a block on a titlepage.

I am trying to create a script the will change the revision, date, drawer and description. So when I open the drawing I can alter these attributes easily and not have to type all of them for every drawing, up to 50 sometimes.

I have a block called A3 Sheet Outline and attributes such as REV_#, REV1_# etc. I cant find the script command to access these attributes to change them.