renaming a variable
Hello John, maybe a tip for "variable naming conventions": use a number as a prefix in your variable name. None of the system variables start with a number. Therefore, I name my variables as follows: 1-productname01 1-productname02 2-companyname01 2-companyname02 3-docname01 4-doctype01 5-versionnumber01 ... And indeed, BookVars may help to "manage" your variables. And finally, if you want to update an existing user variable, the safest way is using a "MIF snippet", i.e. a very small MIF file which just contains the name and definition of the variable and nothing else. Example: # Generated by FrameMaker 7.0p578 PitStop Professional'> > # end of VariableFormat > # end of VariableFormats # End of MIFFile Good luck and best regards -- Yves Barbion Technical Writer Adobe-Certified FrameMaker Instructor U&I Learning nv (formerly ATeK nv) Molenaarsstraat 111 B-9000 Gent Belgium Tel.: +32 9 265 74 72 Fax: +32 9 265 74 84 www.uni-learning.com
renaming a variable
So far I am *very* happy with it, too. I am headed into the crucible now, so I'll be able to give it a real test...I hope it works under the pressure! -Original Message- From: Joe Malin [mailto:jma...@tuvox.com] Sent: Monday, April 17, 2006 4:55 PM To: John Sgammato; framers at lists.frameusers.com Subject: RE: renaming a variable I am very happy with BookVars. When I go to create a new folder for a book/part of a book, the first thing I do is create the book file. The *second* thing I do is create the BookVars file. Joe Joe Malin Technical Writer (408)625-1623 jmalin at tuvox.com www.tuvox.com The views expressed in this document are those of the sender, and do not necessarily reflect those of TuVox, Inc. -Original Message- From: framers-bounces+jmalin=tuvox@lists.frameusers.com [mailto:framers-bounces+jmalin=tuvox.com at lists.frameusers.com] On Behalf Of John Sgammato Sent: Monday, April 17, 2006 8:26 AM To: framers at lists.frameusers.com Subject: RE: renaming a variable I thank the kind folks who replied to my request. I guess I was not quite clear about what I am trying to accomplish. I succeeded in changing the variable name, but the problem comes in replicating the change across about 50 chapters in four books. I can copy the newly-renamed variable into the chapter, but all the existing variables still have their old names. I am anxious about the copy-and-paste method for the reasons Rebecca mentioned. My example was a formatted variable, but I actually use many variables, some formatted and some not. Because I use so many variables, I am looking into Leximation's Bookvars today. It looks like just the tool I need!
RE: renaming a variable
So far I am *very* happy with it, too. I am headed into the crucible now, so I'll be able to give it a real test...I hope it works under the pressure! -Original Message- From: Joe Malin [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 4:55 PM To: John Sgammato; framers@lists.frameusers.com Subject: RE: renaming a variable I am very happy with BookVars. When I go to create a new folder for a book/part of a book, the first thing I do is create the book file. The *second* thing I do is create the BookVars file. Joe Joe Malin Technical Writer (408)625-1623 [EMAIL PROTECTED] www.tuvox.com The views expressed in this document are those of the sender, and do not necessarily reflect those of TuVox, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Sgammato Sent: Monday, April 17, 2006 8:26 AM To: framers@lists.frameusers.com Subject: RE: renaming a variable I thank the kind folks who replied to my request. I guess I was not quite clear about what I am trying to accomplish. I succeeded in changing the variable name, but the problem comes in replicating the change across about 50 chapters in four books. I can copy the newly-renamed variable into the chapter, but all the existing variables still have their old names. I am anxious about the copy-and-paste method for the reasons Rebecca mentioned. My example was a formatted variable, but I actually use many variables, some formatted and some not. Because I use so many variables, I am looking into Leximation's Bookvars today. It looks like just the tool I need! ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: renaming a variable
Hello John, maybe a tip for "variable naming conventions": use a number as a prefix in your variable name. None of the system variables start with a number. Therefore, I name my variables as follows: 1-productname01 1-productname02 2-companyname01 2-companyname02 3-docname01 4-doctype01 5-versionnumber01 ... And indeed, BookVars may help to "manage" your variables. And finally, if you want to update an existing user variable, the safest way is using a "MIF snippet", i.e. a very small MIF file which just contains the name and definition of the variable and nothing else. Example: # Generated by FrameMaker 7.0p578 PitStop Professional'> > # end of VariableFormat > # end of VariableFormats # End of MIFFile Good luck and best regards -- Yves Barbion Technical Writer Adobe-Certified FrameMaker Instructor U&I Learning nv (formerly ATeK nv) Molenaarsstraat 111 B-9000 Gent Belgium Tel.: +32 9 265 74 72 Fax: +32 9 265 74 84 www.uni-learning.com ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
RE: renaming a variable
I am very happy with BookVars. When I go to create a new folder for a book/part of a book, the first thing I do is create the book file. The *second* thing I do is create the BookVars file. Joe Joe Malin Technical Writer (408)625-1623 [EMAIL PROTECTED] www.tuvox.com The views expressed in this document are those of the sender, and do not necessarily reflect those of TuVox, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Sgammato Sent: Monday, April 17, 2006 8:26 AM To: framers@lists.frameusers.com Subject: RE: renaming a variable I thank the kind folks who replied to my request. I guess I was not quite clear about what I am trying to accomplish. I succeeded in changing the variable name, but the problem comes in replicating the change across about 50 chapters in four books. I can copy the newly-renamed variable into the chapter, but all the existing variables still have their old names. I am anxious about the copy-and-paste method for the reasons Rebecca mentioned. My example was a formatted variable, but I actually use many variables, some formatted and some not. Because I use so many variables, I am looking into Leximation's Bookvars today. It looks like just the tool I need! ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
renaming a variable
I am very happy with BookVars. When I go to create a new folder for a book/part of a book, the first thing I do is create the book file. The *second* thing I do is create the BookVars file. Joe Joe Malin Technical Writer (408)625-1623 jmalin at tuvox.com www.tuvox.com The views expressed in this document are those of the sender, and do not necessarily reflect those of TuVox, Inc. -Original Message- From: framers-bounces+jmalin=tuvox@lists.frameusers.com [mailto:framers-bounces+jmalin=tuvox.com at lists.frameusers.com] On Behalf Of John Sgammato Sent: Monday, April 17, 2006 8:26 AM To: framers at lists.frameusers.com Subject: RE: renaming a variable I thank the kind folks who replied to my request. I guess I was not quite clear about what I am trying to accomplish. I succeeded in changing the variable name, but the problem comes in replicating the change across about 50 chapters in four books. I can copy the newly-renamed variable into the chapter, but all the existing variables still have their old names. I am anxious about the copy-and-paste method for the reasons Rebecca mentioned. My example was a formatted variable, but I actually use many variables, some formatted and some not. Because I use so many variables, I am looking into Leximation's Bookvars today. It looks like just the tool I need!
renaming a variable
I thank the kind folks who replied to my request. I guess I was not quite clear about what I am trying to accomplish. I succeeded in changing the variable name, but the problem comes in replicating the change across about 50 chapters in four books. I can copy the newly-renamed variable into the chapter, but all the existing variables still have their old names. I am anxious about the copy-and-paste method for the reasons Rebecca mentioned. My example was a formatted variable, but I actually use many variables, some formatted and some not. Because I use so many variables, I am looking into Leximation's Bookvars today. It looks like just the tool I need! -Original Message- From: Combs, Richard [mailto:richard.co...@polycom.com] Sent: Monday, April 17, 2006 11:17 AM To: Peter Gold; John Sgammato; framers at lists.frameusers.com Subject: RE: renaming a variable John Sgammato wrote: >I want to rename the user variable BoldProduct to B-BoldProduct so I >can get to it quickly from Ctrl-0. You don't need to create a new variable and replace the old. You can just edit the name. Double-click an instance of the BoldProduct variable to open the Variable dialog box. Click Edit Definition to open the Edit User Variable dialog box. In the Name field, change BoldProduct to B-BoldProduct. Click Change and Done. Then click Done in the Variable dialog box. The variable's name is changed, and that's all there is to it. HTH! Richard -- Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 -- rgcombs AT gmailDOTcom 303-777-0436 --
renaming a variable
John Sgammato wrote: >I want to rename the user variable BoldProduct to B-BoldProduct so I >can get to it quickly from Ctrl-0. You don't need to create a new variable and replace the old. You can just edit the name. Double-click an instance of the BoldProduct variable to open the Variable dialog box. Click Edit Definition to open the Edit User Variable dialog box. In the Name field, change BoldProduct to B-BoldProduct. Click Change and Done. Then click Done in the Variable dialog box. The variable's name is changed, and that's all there is to it. HTH! Richard -- Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 -- rgcombs AT gmailDOTcom 303-777-0436 --
RE: renaming a variable
I thank the kind folks who replied to my request. I guess I was not quite clear about what I am trying to accomplish. I succeeded in changing the variable name, but the problem comes in replicating the change across about 50 chapters in four books. I can copy the newly-renamed variable into the chapter, but all the existing variables still have their old names. I am anxious about the copy-and-paste method for the reasons Rebecca mentioned. My example was a formatted variable, but I actually use many variables, some formatted and some not. Because I use so many variables, I am looking into Leximation's Bookvars today. It looks like just the tool I need! -Original Message- From: Combs, Richard [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 11:17 AM To: Peter Gold; John Sgammato; framers@lists.frameusers.com Subject: RE: renaming a variable John Sgammato wrote: >I want to rename the user variable BoldProduct to B-BoldProduct so I >can get to it quickly from Ctrl-0. You don't need to create a new variable and replace the old. You can just edit the name. Double-click an instance of the BoldProduct variable to open the Variable dialog box. Click Edit Definition to open the Edit User Variable dialog box. In the Name field, change BoldProduct to B-BoldProduct. Click Change and Done. Then click Done in the Variable dialog box. The variable's name is changed, and that's all there is to it. HTH! Richard -- Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 -- rgcombs AT gmailDOTcom 303-777-0436 -- ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
RE: renaming a variable
John Sgammato wrote: >I want to rename the user variable BoldProduct to B-BoldProduct so I >can get to it quickly from Ctrl-0. You don't need to create a new variable and replace the old. You can just edit the name. Double-click an instance of the BoldProduct variable to open the Variable dialog box. Click Edit Definition to open the Edit User Variable dialog box. In the Name field, change BoldProduct to B-BoldProduct. Click Change and Done. Then click Done in the Variable dialog box. The variable's name is changed, and that's all there is to it. HTH! Richard -- Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 -- rgcombs AT gmailDOTcom 303-777-0436 -- ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
renaming a variable
But don't forget this method copies and replaces the formatting too, unless your variable definition sets the formatting. Cheers, Rebecca >>> Peter Gold 04/15/06 3:20 AM >>> Hi, John: Have you tried Find/Replace, as: * Create the new variable. * Insert one instance of it. * Copy to clipboard. * Find an instance of the old variable. * Replace by pasting. If this works, open all files in the book, save all files in the book, then Find/Replace across the book. Check representative replacements across the book before saving all files. HTH Regards, Peter Gold KnowHow ProServices At 11:04 AM -0400 4/14/06, John Sgammato wrote: >Is there a way (other than FrameScript and similar tools) to rename >a variable throughout a book? > >I want to rename the user variable BoldProduct to B-BoldProduct so I >can get to it quickly from Ctrl-0. > >It looks like once the variable is in use (hundreds of places >throughout a doc set), the only way to change it is one at a time, >in which case the change would use up more time than I would ever >save by implementing it! > >I appreciate any clues. ___ You are currently subscribed to Framers as rebecca.officer at alliedtelesyn.co.nz. Send list messages to framers at lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscribe at lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/rebecca.officer%40alliedtelesyn.co.nz Send administrative questions to lisa at frameusers.com. Visit http://www.frameusers.com/ for more resources and info. NOTICE: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify Allied Telesis Labs Ltd immediately. Any views expressed in this message are those of the individual sender, except where the sender has the authority to issue and specifically states them to be the views of Allied Telesis Labs.
Re: renaming a variable
But don't forget this method copies and replaces the formatting too, unless your variable definition sets the formatting. Cheers, Rebecca >>> Peter Gold <[EMAIL PROTECTED]> 04/15/06 3:20 AM >>> Hi, John: Have you tried Find/Replace, as: * Create the new variable. * Insert one instance of it. * Copy to clipboard. * Find an instance of the old variable. * Replace by pasting. If this works, open all files in the book, save all files in the book, then Find/Replace across the book. Check representative replacements across the book before saving all files. HTH Regards, Peter Gold KnowHow ProServices At 11:04 AM -0400 4/14/06, John Sgammato wrote: >Is there a way (other than FrameScript and similar tools) to rename >a variable throughout a book? > >I want to rename the user variable BoldProduct to B-BoldProduct so I >can get to it quickly from Ctrl-0. > >It looks like once the variable is in use (hundreds of places >throughout a doc set), the only way to change it is one at a time, >in which case the change would use up more time than I would ever >save by implementing it! > >I appreciate any clues. ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/rebecca.officer%40alliedtelesyn.co.nz Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. NOTICE: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify Allied Telesis Labs Ltd immediately. Any views expressed in this message are those of the individual sender, except where the sender has the authority to issue and specifically states them to be the views of Allied Telesis Labs. ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
renaming a variable
Is there a way (other than FrameScript and similar tools) to rename a variable throughout a book? I want to rename the user variable BoldProduct to B-BoldProduct so I can get to it quickly from Ctrl-0. It looks like once the variable is in use (hundreds of places throughout a doc set), the only way to change it is one at a time, in which case the change would use up more time than I would ever save by implementing it! I appreciate any clues. John Sgammato Principal Technical Writer Imprivata, Inc.
renaming a variable
Hi, John: Have you tried Find/Replace, as: * Create the new variable. * Insert one instance of it. * Copy to clipboard. * Find an instance of the old variable. * Replace by pasting. If this works, open all files in the book, save all files in the book, then Find/Replace across the book. Check representative replacements across the book before saving all files. HTH Regards, Peter Gold KnowHow ProServices At 11:04 AM -0400 4/14/06, John Sgammato wrote: >Is there a way (other than FrameScript and similar tools) to rename >a variable throughout a book? > >I want to rename the user variable BoldProduct to B-BoldProduct so I >can get to it quickly from Ctrl-0. > >It looks like once the variable is in use (hundreds of places >throughout a doc set), the only way to change it is one at a time, >in which case the change would use up more time than I would ever >save by implementing it! > >I appreciate any clues.
Re: renaming a variable
Hi, John: Have you tried Find/Replace, as: * Create the new variable. * Insert one instance of it. * Copy to clipboard. * Find an instance of the old variable. * Replace by pasting. If this works, open all files in the book, save all files in the book, then Find/Replace across the book. Check representative replacements across the book before saving all files. HTH Regards, Peter Gold KnowHow ProServices At 11:04 AM -0400 4/14/06, John Sgammato wrote: Is there a way (other than FrameScript and similar tools) to rename a variable throughout a book? I want to rename the user variable BoldProduct to B-BoldProduct so I can get to it quickly from Ctrl-0. It looks like once the variable is in use (hundreds of places throughout a doc set), the only way to change it is one at a time, in which case the change would use up more time than I would ever save by implementing it! I appreciate any clues. ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: renaming a variable
Hi John... You can export the files to MIF and process them with Perl or some scripting or regex application. You might check out BookVars, which is specifically designed to manage variables at the book level .. add, delete, rename, change (new "replace" functionality coming out soon). http://leximation.com/tools/info/bookvars.php Cheers! Scott Prentice Leximation, Inc. www.leximation.com > Is there a way (other than FrameScript and similar tools) to rename a > variable throughout a book? > > I want to rename the user variable BoldProduct to B-BoldProduct so I can > get to it quickly from Ctrl-0. > > It looks like once the variable is in use (hundreds of places throughout a > doc set), the only way to change it is one at a time, in which case the > change would use up more time than I would ever save by implementing it! > > I appreciate any clues. > > John Sgammato > Principal Technical Writer > Imprivata, Inc. > ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
renaming a variable
Hi John... You can export the files to MIF and process them with Perl or some scripting or regex application. You might check out BookVars, which is specifically designed to manage variables at the book level .. add, delete, rename, change (new "replace" functionality coming out soon). http://leximation.com/tools/info/bookvars.php Cheers! Scott Prentice Leximation, Inc. www.leximation.com > Is there a way (other than FrameScript and similar tools) to rename a > variable throughout a book? > > I want to rename the user variable BoldProduct to B-BoldProduct so I can > get to it quickly from Ctrl-0. > > It looks like once the variable is in use (hundreds of places throughout a > doc set), the only way to change it is one at a time, in which case the > change would use up more time than I would ever save by implementing it! > > I appreciate any clues. > > John Sgammato > Principal Technical Writer > Imprivata, Inc. >
renaming a variable
Is there a way (other than FrameScript and similar tools) to rename a variable throughout a book? I want to rename the user variable BoldProduct to B-BoldProduct so I can get to it quickly from Ctrl-0. It looks like once the variable is in use (hundreds of places throughout a doc set), the only way to change it is one at a time, in which case the change would use up more time than I would ever save by implementing it! I appreciate any clues. John Sgammato Principal Technical Writer Imprivata, Inc. ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.