Thank you to everyone who responded. Mike's astute observation about renaming 
the files within the book file may do it for us. As always, knowing Rick is 
there ready to help ease and streamline the solution is a comforting feeling. 
Thank you to everyone.

Gary Duncan | Principal Technical Writer | Kronos Incorporated
tel: +1 978 947 4164
Kronos | Time & Attendance * Scheduling * Absence Management * HR & Payroll * 
Hiring * Labor Analytics

Join Kronos on: kronos.com<http://www.kronos.com/> | 
Facebook<http://www.kronos.com/facebook> | 
Twitter<http://www.kronos.com/twitter> | 
LinkedIn<http://www.kronos.com/linkedin> | 
YouTube<http://www.kronos.com/youtube>



From: Rick Quatro [mailto:[email protected]]
Sent: Sunday, June 02, 2013 7:26 AM
To: Duncan, Gary; [email protected]
Subject: RE: Automate resolution of broken x-refs after renaming target files?

Hi Gary,
This could easily be done with FrameScript. It is not the markers you have to 
change; it is the XRefFile property of each external cross-reference. As for 
the markers in the TOC, etc., you will just have to update the TOC after you 
rename the files. Please contact me off-list Monday and I will give you any 
details you need. Thanks.
Rick

Rick Quatro
Carmen Publishing Inc.
585-283-5045
[email protected]<mailto:[email protected]>

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Duncan, Gary
Sent: Saturday, June 01, 2013 8:55 PM
To: [email protected]<mailto:[email protected]>
Subject: Automate resolution of broken x-refs after renaming target files?

Hi, everyone,
If I rename Frame files in a book, is it possible to automate changing the file 
names in cross-reference hypertext markers to repair the cross-references that 
will break? Specifically, we'd like to rename Frame files so that there are no 
spaces in the names (same characters in the file names but no spaces). I'd like 
to be able to search all cross-reference marker text to find file names with 
spaces and remove the spaces.
For example, a file in a book has a cross-reference to "System Overview.fm". I 
change the name of that file to "SystemOverview.fm". I'd like a script to be 
able to the Frame file name in the x-ref marker and remove the space, and go on 
to find all other Frame file names with spaces in x-ref markers and do the same.
I'm no script expert - not even a novice - but in searching for a pattern that 
a script might latch on to to do this, the  names of Frame files in the same 
directory as the file x-reffing to them are uniformly preceded by 
"openObjectID". Could the script look for openObjectID (+ the space after it) 
and then remove the spaces contained in the characters that follow up to ".fm"? 
For files that are x-reffed that are in different directories from the 
x-reffing file, could the script look for  "/<file name>.fm" and again remove 
spaces within the name string?
Or am I asking the impossible of Framescript?
Thank you for reading.

Gary Duncan | Principal Technical Writer | Kronos Incorporated
tel: +1 978 947 4164
Kronos | Time & Attendance * Scheduling * Absence Management * HR & Payroll * 
Hiring * Labor Analytics
Join Kronos on: kronos.com<http://www.kronos.com/> | 
Facebook<http://www.kronos.com/facebook> | 
Twitter<http://www.kronos.com/twitter> | 
LinkedIn<http://www.kronos.com/linkedin> | 
YouTube<http://www.kronos.com/youtube>





_______________________________________________


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.

Reply via email to