RE: Renaming 300 linked graphics in Framemaker - Unix/Linux solution
The following will work if you have if you are working in, or have access to, a unix or linux environment (eg Cygwin) then its relatively easy use a sed script to make the changes on saved .MIF version(s) of the affected file(s). Each line of your sed script would be something like this: /ImportObFileDI/ s/08-204/analyzer_main/ The first part "/ImportObFileDI/" limits changes to the lines in the MIF file where the path to the file is given, so there should be no danger of making changes to other parts of the file. The second part of the line gives the old and new file names. If you haven't already renamed the files then you could start off with a unix script that renames the files, for example: mv 08-204 analyzer_main and then edit this to create your sed script. You can then run the sed script with the command: sed - f script-file-name input.mif > output.mif I don't know of any equivalent batch processing utilities available under Windows but would be interested if anyone knows of them. Regards Rob Evans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andersen, Verner Engell VEA Sent: 16 September 2008 16:15 To: framers@lists.frameusers.com Subject: Renaming 300 linked graphics in Framemaker Hello Arrgh All my linked graphics have numbers as the file name, like "08-204". Now the company decision is that they should have letters, like "analyzer_main". We plan to keep all file names the same in all translated languages. Is there an easy way to do this without having to reimport. Maybe there is a tool? Med venlig hilsen - Best regards Verner Andersen Technical Writer Radiometer Medical ApS Phone +45 3827 3612 Fax +45 3827 2727 [EMAIL PROTECTED] Radiometer Medical ApS Akandevej 21 2700 Bronshoj Denmark Phone: +45 38 27 38 27 CVR: 27 50 91 85 This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. ___ 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/robert.evans%40arc.c om Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. ___ 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 300 linked graphics in Framemaker
Hi Verner, I am curious to understand why was the change suggested at this time ? The team / manager must take a decision before beginning the project on the best-practices keeping the future plan in mind, and adhere to it. I believe there will be a valid reason for the current numbered naming convention. So, instead of restructuring the naming convention from numbers to descriptive text, I recommend leaving the file names as is for now. If at all you have no alternative, it is going to be a very tedious and time consuming effort. Regards and Best Wishes, Vijay On Tue, Sep 16, 2008 at 9:03 PM, John Posada wrote: > How does it know that "08-204" is the same as "analyzer_main"? > >> Is there an easy way to do this without having to reimport. >> Maybe there is a tool? > > > John Posada > Senior Technical Writer > NYMetro STC President > > 'Half this game is ninety percent mental.' > -- Danny Ozark, Philadelphia Phillies manager
Renaming 300 linked graphics in Framemaker
I guess this must be possible with a framescript but, as John pointed out, someone is going to have to create a "mapping table" with the old and new file names of the graphics. I wouldn't have the patience to do this for 300 graphics. And, like Vijay said, does the reason for renaming the graphics justify the effort it will take? You can easily create a hyperlinked list of imported graphics in FrameMaker and there are a lot of (free) "image viewers" available to find and manage your graphics. Kind regards -- Yves Barbion ? Managing Director Scripto ? Adobe-Certified FrameMaker Instructor www.scripto.nu
Renaming 300 linked graphics in Framemaker - Unix/Linux solution
The following will work if you have if you are working in, or have access to, a unix or linux environment (eg Cygwin) then its relatively easy use a sed script to make the changes on saved .MIF version(s) of the affected file(s). Each line of your sed script would be something like this: /ImportObFileDI/ s/08-204/analyzer_main/ The first part "/ImportObFileDI/" limits changes to the lines in the MIF file where the path to the file is given, so there should be no danger of making changes to other parts of the file. The second part of the line gives the old and new file names. If you haven't already renamed the files then you could start off with a unix script that renames the files, for example: mv 08-204 analyzer_main and then edit this to create your sed script. You can then run the sed script with the command: sed - f script-file-name input.mif > output.mif I don't know of any equivalent batch processing utilities available under Windows but would be interested if anyone knows of them. Regards Rob Evans -Original Message- From: framers-boun...@lists.frameusers.com [mailto:framers-bounces at lists.frameusers.com] On Behalf Of Andersen, Verner Engell VEA Sent: 16 September 2008 16:15 To: framers at lists.frameusers.com Subject: Renaming 300 linked graphics in Framemaker Hello Arrgh All my linked graphics have numbers as the file name, like "08-204". Now the company decision is that they should have letters, like "analyzer_main". We plan to keep all file names the same in all translated languages. Is there an easy way to do this without having to reimport. Maybe there is a tool? Med venlig hilsen - Best regards Verner Andersen Technical Writer Radiometer Medical ApS Phone +45 3827 3612 Fax +45 3827 2727 verner.andersen at radiometer.dk Radiometer Medical ApS Akandevej 21 2700 Bronshoj Denmark Phone: +45 38 27 38 27 CVR: 27 50 91 85 This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. ___ You are currently subscribed to Framers as robert.evans at arc.com. 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/robert.evans%40arc.c om Send administrative questions to listadmin at frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Renaming 300 linked graphics in Framemaker
Hello Arrgh All my linked graphics have numbers as the file name, like "08-204". Now the company decision is that they should have letters, like "analyzer_main". We plan to keep all file names the same in all translated languages. Is there an easy way to do this without having to reimport. Maybe there is a tool? Med venlig hilsen - Best regards Verner Andersen Technical Writer Radiometer Medical ApS Phone +45 3827 3612 Fax +45 3827 2727 verner.andersen at radiometer.dk Radiometer Medical ApS Akandevej 21 2700 Bronshoj Denmark Phone: +45 38 27 38 27 CVR: 27 50 91 85 This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
Renaming 300 linked graphics in Framemaker
Hi Verner, The best way to do this is to build a "map" in Excel or in a text file that maps the old names to the new names. Then you can use FrameScript to not only rename the graphics on the disk, but also to update the paths in your FrameMaker documents. You could run the script on a single document, book, or folder. If you are interested in this type of solution, please contact me offlist. Thank you very much. Rick Quatro Carmen Publishing Inc 585-659-8267 www.frameexpert.com > Hello > Arrgh > > All my linked graphics have numbers as the file name, like "08-204". Now > the company decision is that they should have letters, like > "analyzer_main". > We plan to keep all file names the same in all translated languages. > > Is there an easy way to do this without having to reimport. > Maybe there is a tool? > > Med venlig hilsen - Best regards > Verner Andersen > Technical Writer > > Radiometer Medical ApS > Phone +45 3827 3612 > Fax +45 3827 2727 > verner.andersen at radiometer.dk > > > Radiometer Medical ApS > Akandevej 21 > 2700 Bronshoj > Denmark > Phone: +45 38 27 38 27 > CVR: 27 50 91 85 > >
Renaming 300 linked graphics in Framemaker
How does it know that "08-204" is the same as "analyzer_main"? > Is there an easy way to do this without having to reimport. > Maybe there is a tool? -- John Posada Senior Technical Writer NYMetro STC President 'Half this game is ninety percent mental.' -- Danny Ozark, Philadelphia Phillies manager
Renaming 300 linked graphics in Framemaker
I faced a similar issue when I inherited 11 books with almost 1.500 graphics. The graphics file names, in some cases, were numeric, and in others they were human-readable, but in someone else's shorthand. My goal was to segregate books/files into discrete directories with a graphics child directory in each book dir. 1. I created the book/files and graphics directories, establishing a scalable directory structure. 2. I manually moved books and all related files into their respective directories. This broke all inter-book cross-refs. This was OK, since I produce only PDFs. 3. I renamed all books and files to a logical, human-readable scheme. For example, ana_gr_vws.fm became __Analyzer_graph_views.fm. 4. I click-dragged ALL GRAPHICS into each child graphics folder in each book folder. 5. I opened the book in FM and answered Use This New Path when the graphics broken link window appeared. 6. I ran a utility to delete all unused graphics. 7. I used a renaming utility to append __Analyzer as a file name prefix. 8. I re-opened the book in FM and this time, at each graphics link break, I manually re-established the link to each graphic, repeating the previous few steps for each book. It sounds like a lot of work, but it took less than 50 hours. What I got in the end was a directory structure, file structure, and naming convention that works well for scalability and can readily be used by a junior writer...regards, Kelly. -Original Message- From: framers-boun...@lists.frameusers.com [mailto:framers-bounces at lists.frameusers.com] On Behalf Of Vijay Sent: Tuesday, September 16, 2008 10:40 AM To: John Posada Cc: framers at lists.frameusers.com Subject: Re: Renaming 300 linked graphics in Framemaker Hi Verner, I am curious to understand why was the change suggested at this time ? The team / manager must take a decision before beginning the project on the best-practices keeping the future plan in mind, and adhere to it. I believe there will be a valid reason for the current numbered naming convention. So, instead of restructuring the naming convention from numbers to descriptive text, I recommend leaving the file names as is for now. If at all you have no alternative, it is going to be a very tedious and time consuming effort. Regards and Best Wishes, Vijay On Tue, Sep 16, 2008 at 9:03 PM, John Posada wrote: > How does it know that "08-204" is the same as "analyzer_main"? > >> Is there an easy way to do this without having to reimport. >> Maybe there is a tool? > > > John Posada > Senior Technical Writer > NYMetro STC President > > 'Half this game is ninety percent mental.' > -- Danny Ozark, Philadelphia Phillies manager ___ You are currently subscribed to Framers as kmcdaniel at pavtech.com. 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/kmcdaniel%40pavtech. com Send administrative questions to listadmin at frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: Renaming 300 linked graphics in Framemaker
I faced a similar issue when I inherited 11 books with almost 1.500 graphics. The graphics file names, in some cases, were numeric, and in others they were human-readable, but in someone else's shorthand. My goal was to segregate books/files into discrete directories with a graphics child directory in each book dir. 1. I created the book/files and graphics directories, establishing a scalable directory structure. 2. I manually moved books and all related files into their respective directories. This broke all inter-book cross-refs. This was OK, since I produce only PDFs. 3. I renamed all books and files to a logical, human-readable scheme. For example, ana_gr_vws.fm became __Analyzer_graph_views.fm. 4. I click-dragged ALL GRAPHICS into each child graphics folder in each book folder. 5. I opened the book in FM and answered Use This New Path when the graphics broken link window appeared. 6. I ran a utility to delete all unused graphics. 7. I used a renaming utility to append __Analyzer as a file name prefix. 8. I re-opened the book in FM and this time, at each graphics link break, I manually re-established the link to each graphic, repeating the previous few steps for each book. It sounds like a lot of work, but it took less than 50 hours. What I got in the end was a directory structure, file structure, and naming convention that works well for scalability and can readily be used by a junior writer...regards, Kelly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vijay Sent: Tuesday, September 16, 2008 10:40 AM To: John Posada Cc: framers@lists.frameusers.com Subject: Re: Renaming 300 linked graphics in Framemaker Hi Verner, I am curious to understand why was the change suggested at this time ? The team / manager must take a decision before beginning the project on the best-practices keeping the future plan in mind, and adhere to it. I believe there will be a valid reason for the current numbered naming convention. So, instead of restructuring the naming convention from numbers to descriptive text, I recommend leaving the file names as is for now. If at all you have no alternative, it is going to be a very tedious and time consuming effort. Regards and Best Wishes, Vijay On Tue, Sep 16, 2008 at 9:03 PM, John Posada <[EMAIL PROTECTED]> wrote: > How does it know that "08-204" is the same as "analyzer_main"? > >> Is there an easy way to do this without having to reimport. >> Maybe there is a tool? > > > John Posada > Senior Technical Writer > NYMetro STC President > > 'Half this game is ninety percent mental.' > -- Danny Ozark, Philadelphia Phillies manager ___ 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/kmcdaniel%40pavtech. com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. ___ 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 300 linked graphics in Framemaker
I'd export the FM files to MIF, then use Perl (or some batch search and replace tool) to rename the references. ...scott Scott Prentice Leximation, Inc. www.leximation.com +1.415.485.1892 Andersen, Verner Engell VEA wrote: > Hello > Arrgh > > All my linked graphics have numbers as the file name, like "08-204". Now > the company decision is that they should have letters, like > "analyzer_main". > We plan to keep all file names the same in all translated languages. > > Is there an easy way to do this without having to reimport. > Maybe there is a tool? > > > > > Med venlig hilsen - Best regards > Verner Andersen > Technical Writer > > Radiometer Medical ApS > Phone +45 3827 3612 > Fax +45 3827 2727 > [EMAIL PROTECTED] > > > > > Radiometer Medical ApS > Akandevej 21 > 2700 Bronshoj > Denmark > Phone: +45 38 27 38 27 > CVR: 27 50 91 85 > > > > This message (including any attachments) contains confidential > and/or proprietary information intended only for the addressee. > Any unauthorized disclosure, copying, distribution or reliance on > the contents of this information is strictly prohibited and may > constitute a violation of law. If you are not the intended > recipient, please notify the sender immediately by responding to > this e-mail, and delete the message from your system. If you > have any questions about this e-mail please notify the sender > immediately. > ___ > > > 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/sp%40leximation.com > > Send administrative questions to [EMAIL PROTECTED] Visit > http://www.frameusers.com/ for more resources and info. > > ___ 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 300 linked graphics in Framemaker
I'd export the FM files to MIF, then use Perl (or some batch search and replace tool) to rename the references. ...scott Scott Prentice Leximation, Inc. www.leximation.com +1.415.485.1892 Andersen, Verner Engell VEA wrote: > Hello > Arrgh > > All my linked graphics have numbers as the file name, like "08-204". Now > the company decision is that they should have letters, like > "analyzer_main". > We plan to keep all file names the same in all translated languages. > > Is there an easy way to do this without having to reimport. > Maybe there is a tool? > > > > > Med venlig hilsen - Best regards > Verner Andersen > Technical Writer > > Radiometer Medical ApS > Phone +45 3827 3612 > Fax +45 3827 2727 > verner.andersen at radiometer.dk > > > > > Radiometer Medical ApS > Akandevej 21 > 2700 Bronshoj > Denmark > Phone: +45 38 27 38 27 > CVR: 27 50 91 85 > > > > This message (including any attachments) contains confidential > and/or proprietary information intended only for the addressee. > Any unauthorized disclosure, copying, distribution or reliance on > the contents of this information is strictly prohibited and may > constitute a violation of law. If you are not the intended > recipient, please notify the sender immediately by responding to > this e-mail, and delete the message from your system. If you > have any questions about this e-mail please notify the sender > immediately. > ___ > > > You are currently subscribed to Framers as sp at leximation.com. > > 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/sp%40leximation.com > > Send administrative questions to listadmin at frameusers.com. Visit > http://www.frameusers.com/ for more resources and info. > >
Re: Renaming 300 linked graphics in Framemaker
I guess this must be possible with a framescript but, as John pointed out, someone is going to have to create a "mapping table" with the old and new file names of the graphics. I wouldn't have the patience to do this for 300 graphics. And, like Vijay said, does the reason for renaming the graphics justify the effort it will take? You can easily create a hyperlinked list of imported graphics in FrameMaker and there are a lot of (free) "image viewers" available to find and manage your graphics. Kind regards -- Yves Barbion • Managing Director Scripto • Adobe-Certified FrameMaker Instructor www.scripto.nu ___ 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 300 linked graphics in Framemaker
Hi Verner, The best way to do this is to build a "map" in Excel or in a text file that maps the old names to the new names. Then you can use FrameScript to not only rename the graphics on the disk, but also to update the paths in your FrameMaker documents. You could run the script on a single document, book, or folder. If you are interested in this type of solution, please contact me offlist. Thank you very much. Rick Quatro Carmen Publishing Inc 585-659-8267 www.frameexpert.com > Hello > Arrgh > > All my linked graphics have numbers as the file name, like "08-204". Now > the company decision is that they should have letters, like > "analyzer_main". > We plan to keep all file names the same in all translated languages. > > Is there an easy way to do this without having to reimport. > Maybe there is a tool? > > Med venlig hilsen - Best regards > Verner Andersen > Technical Writer > > Radiometer Medical ApS > Phone +45 3827 3612 > Fax +45 3827 2727 > [EMAIL PROTECTED] > > > Radiometer Medical ApS > Akandevej 21 > 2700 Bronshoj > Denmark > Phone: +45 38 27 38 27 > CVR: 27 50 91 85 > > ___ 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 300 linked graphics in Framemaker
Hi Verner, I am curious to understand why was the change suggested at this time ? The team / manager must take a decision before beginning the project on the best-practices keeping the future plan in mind, and adhere to it. I believe there will be a valid reason for the current numbered naming convention. So, instead of restructuring the naming convention from numbers to descriptive text, I recommend leaving the file names as is for now. If at all you have no alternative, it is going to be a very tedious and time consuming effort. Regards and Best Wishes, Vijay On Tue, Sep 16, 2008 at 9:03 PM, John Posada <[EMAIL PROTECTED]> wrote: > How does it know that "08-204" is the same as "analyzer_main"? > >> Is there an easy way to do this without having to reimport. >> Maybe there is a tool? > > > John Posada > Senior Technical Writer > NYMetro STC President > > 'Half this game is ninety percent mental.' > -- Danny Ozark, Philadelphia Phillies manager ___ 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 300 linked graphics in Framemaker
How does it know that "08-204" is the same as "analyzer_main"? > Is there an easy way to do this without having to reimport. > Maybe there is a tool? -- John Posada Senior Technical Writer NYMetro STC President 'Half this game is ninety percent mental.' -- Danny Ozark, Philadelphia Phillies manager ___ 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 300 linked graphics in Framemaker
Hello Arrgh All my linked graphics have numbers as the file name, like "08-204". Now the company decision is that they should have letters, like "analyzer_main". We plan to keep all file names the same in all translated languages. Is there an easy way to do this without having to reimport. Maybe there is a tool? Med venlig hilsen - Best regards Verner Andersen Technical Writer Radiometer Medical ApS Phone +45 3827 3612 Fax +45 3827 2727 [EMAIL PROTECTED] Radiometer Medical ApS Akandevej 21 2700 Bronshoj Denmark Phone: +45 38 27 38 27 CVR: 27 50 91 85 This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. ___ 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.