The original version of this page can be found at : http://forum.makemusic.com/default.aspx?f=12&m=79494
Posted By : kt - 4/24/2004 5:53 AM
Can one get at the File Info, and in particular, modify field values?
 
This is related to a thread off in Windows about copyright legends.   It would be nice to write
a script that updates the Copyright text block.
==
tk

Posted By : Robert P. - 4/25/2004 10:43 AM
Hi TK,

The answer is yes and no.
What you cannot do in current version (yet...) is a command such as:

copyright = "© 2004 TK and Co.", or:
composer = "TK"
(...)

What you can do, however, is a global search and replace, scanning (among others) the file info fields:

search "© 2001" replace "© 2004"
search "J. S. Bach" replace "TK"


Adding
batch process folder
or
process all open docs
allows to process multiple files at once, and you can then update info fields quite easily.

Alternatively, you can use my Text Search and Replace plug-in for a non-script access to these features. By the way, Text Search and Replace is actually built in FinaleScript, although the interfaces are separate.

Best regards,
Robert

Posted By : Zuill - 4/26/2004 1:31 AM
I think the text search and replace (the plug-in, not FinaleScript) is the easiest because you can isolate just the data in the File info to search and replace. That will prevent erroneous changes in other places. What makes it hard to use is the little arrows at the bottom left of the window (giving you more options) are hard to see and aren't labeled. If the button said "options", I think the plugin would be easier to use. The little arrows aren't informative enough and I didn't know there were options until I poked around.

Zuill
 
P.S.: This is only good for the current document. If you wanted to do multiple documents, then FinaleScript is the only option. If you toggle between documents that are open and keep the search and replace window open, you can quickly update the exact same info for each of the files, so it does have its use.
 
P.P.S.: I take all that back. There is an option to replace data in all open documents in the search and replace plugin. Boy, am I slow.


"When all is said and done, more is said than done."
 
Finale 2004b, Win 2000 or XP

Post Edited (Zuill) : 4/26/2004 6:13:17 AM GMT