I am humbled by you. I didn't want or ask you to write this code for me but now that you have I can't thank you enough. I can see (by your code) the task that I am trying to undertake is way over my skill set. I can only assume that you program for a living and with a tool like this, this is something you need to be paid for. I am not sure what a fare price would be and I honestly can not afford to pay you for it but if we can work something out, I will happly reimburse your time.
Many thanks for your kind words CADman - I appreciate it. Of course, I didn't write the code expecting reimbursement - initially, this was a good exercise for me in programming using reactors (I don't write too many reactor based programs), and I would furthermore state that the current code is by no means 'bulletproof' (I find it very difficult to make a program completely robust when invoking reactors since one must account for all possible scenarios [e.g. note the extra command reactor required to prevent a crash when Undo is called] - but perhaps this a lack of knowledge in this area on my part). That said, of course, if you do feel compelled to make a donation to either theSwamp or my site, both will be welcomed.
This tool will save us a ton of time in down production when trying to get jobs out the door. Our Print shop spend hours renaming PDF's when they could and should be doing more proactive tasks. You think this is little gain, I disagree.
I'm glad that it can save you time in your work - my earlier comment regarding the 'little gain' was more remarking upon how much code was required to merely link a text object to the Layout Name - if only Fields were permitted in Layout Names, this would be a walk in the park.
If I can ask you for one more favor (you have already done way too much for me), to make this work with MText, so we can have multiple lines in our sheet title, a title very rarly is one line.
The program could indeed be modified to accept MText, however I foresee problems where MText formatting is concerned (it could be removed of course), and also in that Layout Names may only consist of a single line with a limited number of characters (254?)
I hesitate to ask, but we can not use this tool unless it is Mtext. If you don't want to or don't have the time to mess with it, I understand and will take what is given to me and just say THANK YOU. The ease that you write this stuff is what I strive for. I am humbled.
To be honest, its mostly practice - many times I study the code others have posted and try to take ideas further, or code something in a different way.
Happy I could help,
Lee