Javascript Metadata & Parse content
I've seen lots of script info here but yet to find anything about doing what I would like to do. I want to parse the contents of the text within the file to build a keyword list. It's not a perfect solution but I think it can work if you create an exclusion list such as do not include; in, high, used, meet, on, from, and, or, but, the it, buy, talk etc...and then pull the next ten keywords by word frequency and past them into the meta keywords.
I have also seen that none of the scripts in this site ever include a boolean operation to ignure fields that have already been filled out. In that way if the field was manually filled out or automatically filled out, it will not attempt to overwrite the metadata, only if the field is blank...
This would solve a lot of headaches if a firm has files that get filled out by staff, then the script ignores the pre-filled fields and just fills in blank fields.
Of course I would also liek to fill in other fields and toggle security fields as well... I would also like the author field to be set to the UserID of the person logging in to the computer like is done in most corporate environments.
I am also curious if there is a way to set a template file that is automatically pulled by InDesign every time a file is created that already defines the metadata fields but not using XMP to import...I mean to do so transparently to the user.
