FM, Renaming links to graphics
How about saving the files as MIF and using a search and replace tool that works on text files to change the path? Notepad++ has a global search and replace for text files. -- Regards, Shmuel Wolfson Robert Evans wrote: 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/shmuelw1%40gmail.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. -- Regards, Shmuel Wolfson 052-763-7133 ___ 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.
FM, Renaming links to graphics
How about saving the files as MIF and using a search and replace tool that works on text files to change the path? Notepad++ has a global search and replace for text files. -- Regards, Shmuel Wolfson Robert Evans wrote: > 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-bounces at 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. > > > ___ > > > You are currently subscribed to Framers as shmuelw1 at gmail.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/shmuelw1%40gmail.com > > Send administrative questions to listadmin at frameusers.com. Visit > http://www.frameusers.com/ for more resources and info. > > -- Regards, Shmuel Wolfson 052-763-7133