Can anyone out there provide some sample code that I could use to prompt and collect values for custom document properties and then do an update of all the fields throughout the doc? I have a document that has several variables that I currently go in and manually enter, then I do a "CTRL-A" to select all the text and right click and select "Update Fields".
Is there a way that I could run a macro, be prompted for all the values and then the document would generate itself?
The essence of the update is:
for each story in activedocument.storyranges
application.saved = false