Can I Rename Tags Across all Files in a Book?

Hi all,
I have a question about FrameMaker 8 to which I cannot find an answer.
Can I rename a Paragraph Tag across all files in a book? For example, I have a Paragraph Tag in each of my chapters named "SysResponse" that I want to rename to "System Response". I know that I can do this by going into each file and renaming the tag manually. However, I'm curious to know if I can do this once and apply it across all files so that the "SysResponse" tag renames to "System Response" automatically wherever it occurs.
If this is possible, it would save so much time; I need to rename several tags (Paragraph, Character, and Table) in preparation for a template transition/clean up. I'd even be willing to do it in an alternate way, such as doing a find and replace in a .MIF file, if this is what I need to do.
Thanks in advance for any advice!
Chris

Chris:
After backing up your files lest there be a disaster:
1. At the file level, rename one instance then use Edit > Copy Special > Paragraph Format to put the new paragraph style on the clipboard.
2. At the book level, in Edit > Find/Change choose Paragraph Tag in the list of Find choices then type the name of the new paragraph style.
3. In the Change list, choose By Pasting.
Note, too, that Silicon Prairies Paragraph Tools provides a cost-effective way to perform value-added operations on a book's Paragraph tags...
Cheers & hope this helps,
Riley

Similar Messages

  • Footnotes numbered consecutively across all files in a book

    Using CS6, I've created a book with 24 chapters. In each chapter, the footnote numbering start with  1.
    The author believes the footnotes should be numbered consecutively across all files in a book.
    I don't see any option for InDesign to handle that unless I combine all the chapters into a single file. Am I right?
    Any resources anyone can suggest which would give us a definitive answer on how footnotes should be numbered?
    Thanks,
    David

    I have only done a few jobs that used footnotes. One of them was my undergrad thesis, which I did as one document, so all of the footnotes were numbered consecutively. If I had to make an uninformed bet, I'd guess that chapters shouldn't restart at 1, but that's only a guess. Also consider that there are several sets of rules that people can use (Chicago Manual of Style, APA, MLA, Turabian), so the "correct" answer might be conditional.
    D Stark wrote:
    I don't see any option for InDesign to handle that unless I combine all the chapters into a single file. Am I right?
    There is the option to (for example) restart the numbering of chapter 2 with footnote number 8, if the last footnote of chapter 1 was 7. That will require you to always check each document of the book before you output it to be sure your restarts have the correct number, in case you added a footnote to a chapter that will cause the next chapter to need a new start number. You can restart footnote numbers in Type>Document Footnote Options>Numbering and Formatting.
    There may be a plug-in that offers better footnote options, but I don't think InDesign's native footnote feature will allow footnote numbering to span book chapters, but I'm using  CS5, so maybe newer versions can do a better job.
    I recommend you check back here to see if anyone has given a more definitive answer before you take my word for it.

  • How can we get  tag of XML file using SAX

    Hi ,
    I'm parsing one SAX parser , I'have almost done this parsing. i have faced problem for one case, i'e how can we get tag from XML file using SAX parser?
    XML file is
    <DFProperties>
    <AccessType>
    <Get/>
    </AccessType> <Description>
    gdhhd
    </Description>
    <DFFormat>
    <chr/>
    </DFFormat>
    <Scope>
    <Permanent/>
    </Scope>
    <DFTitle>gsgd</DFTitle>
    <DFType>
    <MIME>text/plain</MIME>
    </DFType>
    </DFProperties>
    I want out like GET and Permanent... means this one tag which is present inside of another tag.
    Handler class like
    public void startElement(String namespaceURI, String localName,
                   String qName, Attributes atts) throws SAXException {
    if(_ACCESSTYPE.equals(localName)){
                   accessTypeElement=ACCESSTYPE;
    public void characters(char[] ch, int start, int length)
                   throws SAXException {
    if (_ACCESSTYPE.equals(_accessTypeElement)) {
                   String strValue = new String(ch, start, length);
                   System.out.println("Accestype-----------------------------> " + strValue);
                   //System.out.println(" " + strValue);
    public void endElement(String namespaceURI, String localName, String qName)
                   throws SAXException {
    if (_ACCESSTYPE.equals(localName)) {
                   _accessTypeElement = "";
    . please any body help me

    Hi ,
    I have one problem,Please help me.
    1. How can I'll identify where exactly my Node is ended,means how how can we find corresponding nodename? in partcular place
    <Node> .............starttag1
    <NodeName>Test</NodeName>
    <Node>................starttag2
    <nodeName>test1</NodeName>
    </Node>..................endtag2
    <Node>.....................starttag3
    <NodeName><NodeName>
    <Node> .........................starttag4
    <NodeName>test4</NodeName>
    </Node>.......enddtag4
    </Node>...........end tag3
    </Node>............endtag1
    my code is below
    private final String _NODENAME = "NodeName";
    private final String _NODE = "Node";
    private String _nodeElement = "";
         private String _NodeNameElement = "";
    public void startElement(String namespaceURI, String localName,
                   String qName, Attributes atts) throws SAXException {
    if (_NODENAME.equals(localName)) {
                   NodeNameElement = NODENAME;
    if(_NODE.equals(localName)){
         System.out.println("start");
         if (_NODENAME.equals(localName)) {
                   NodeNameElement = NODENAME;
    public void characters(char[] ch, int start, int length)
                   throws SAXException {
    if (_NODENAME.equals(_NodeNameElement)) {
                   String strValue = new String(ch, start, length);
                   String sttt=strValue;
                   System.out.println("NODENAME: ************* " + strValue);
    if(_NODE.equals(_nodeElement)){
                   if (_NODENAME.equals(_NodeNameElement)) {
                        String strValue = new String(ch, start, length);
                        String sttt=strValue;
                        System.out.println("nodevalue********** " + strValue);
    public void endElement(String namespaceURI, String localName, String qName)
                   throws SAXException {
    if (_NODENAME.equals(localName)) {
                   _NodeNameElement = "";
    if(_NODE.equals(localName)){
                   System.out.println("NODENAME: %%%%%%%%%");
    please help me. How can I figure node ending for particular nodename

  • I have a 27" iMac with 16GB of factory installed SDRAM and 1T harddrive.  It is telling me the harddrive is full and is not functioning correctly.  How can I adjust so that all files are managed on the harddrive rather than the SDRAM.  (BTW - design flaw)

    Processor 3.4 GHz Intel Core i7
    Memory  16 GB 1333 MHz DDR3
    I have a 27" iMac with 16GB of factory installed SDRAM and 1T harddrive.  It is telling me the harddrive is full and is not functioning correctly.  How can I adjust so that all files are managed on the harddrive rather than the SDRAM.  (BTW - design flaw here.)
    Older Macs with a single Harddrive would simply expand OS management on the drive, and I think I understand the new Fusion Drive to do just that, but how do I get this product that I spent a great deal of money on to be more than a pretty screen?

    I was confused by this statement
    It is telling me the harddrive is full and is not functioning correctly.
    OS X manages ram and when you run out, it create swapfiles to extend your ram on the HDD (Hard Disk Drive). The OS itself, takes about 16 gig of space and that too resides on the HDD.  Your 16 gig of RAM is really a temporary space that holds things from the HDD so the processor can work on them.  There is no design flaw between your ram and HDD.  Something else is going on and there are a lot of smart people here to help you figure out what that "something else" is.
    I would do three things.  First I would create a backup, backups are important.  Second, I would reboot into recovery and repair my HDD.  Lastly while still booted in recovery I would repair permissions.
    Can you capture a screen shot of the exact error you are getting?

  • Captivate 7.  How can I distribute audio across all of the slides?

    New to Captivate.  When I recorded the audio, I did not know to record it to all of the slides.  all the audio is on the first slide.  How can I distribute it across all of the video slides?

    @parth vyas ??? Why do you recommend to record/import this as background audio? I suppose the user wants to distribute the audio over slides, and to control how much audio on each slide, placing the slide markers where he wants? No such control is possible with background audio, which is just meant as... background.
    @[email protected] Welcome to the forum,
    So you choose to record to one slide which means that the slide will have a duration that corresponds with the length of the recorded audio clip. And you now want to distribute it over more sides? Is that a correct interpretation of your question?
    One possibility is Audio, Edit, Project. In the editing dialog box, zoom out so that you see the entire audio clip. At its end you'll see a marker with a flag Slide 2 (yellow), which you can drag to the left, and then the audio will be partially on the second slide. At the new end you'll have the marker with flag Slide 3...
    Second possibility: the audio clip will be in the Library. You can delete the audio on the first slide (Audio accordion), shorten slide to its wanted duration; then import the audio clip from the Library and you'll get a dialog box that has the option to distribute the audio over slides.
    Third possibility: if you have the creative cloud or CS6, you'll have the roundtripping functionality with Audition CS6 or CC if you choose that option in the Edit Audio (Project) dialog box, and you can drag the slide markers in Audition.
    Lilybiri

  • Updating a variable across multiple files in a book

    Hi guys,
    I have a book file with multiple files (prelim pages and chapters). In the header of each prelim page and chapter file I'm using a variable. How can I make a simple change to the variable and update it across all files that use it? I've tried looking through the menus and opening all files but I can't see any method of making a global change.
    Advice appreciated.
    Cheers
    Carl

    How about File > Import formats …
    1. make a new file (source) where you define just the variable you want to copy to other files (targets)
    2. import that variable from the source file into the target files
    When all the target files are in a .book, you can select them in the book and then use File > Import formats. Otherwise, the same command from inside each target – but you can always make a dummy .book referencing all the target files.
    Setting up a source file first means you can work with only the variables you want to, if you have some that change per chapter and others that stay the same throughout the book.
    N
    [ps] Watch out for the default behaviour of the Import from Document pulldown, which sets itself determinedly to "current file"

  • How can I search and find all files modified since december 1st 2010

    I just want to see all the files that have been modified on my Windows Server 2008 since December 1, 2010.  I want to see if there is anything unusual.  Is this possible without 3rd party software?
    I support 2 Windows Server 2008.  On one of them, I can't seem to get any advanced search options until I type at least one character in the name of the file I am searching for (but I want to search all files).  Even then, the search is slow, it
    tells me it did not bring back all results because there are too many and the results window is too awkward to navigate.  On the second server, when I click in the search box, it has buttons I can click, one is "Date Modified" but they only have predefined
    options like "Last week" and "yesterday".
    Every version of windows explorer gets worse and worse at searching.  I rarely use it anymore.  I usually install "Search Everything" from voidtools.com.  You can download, install, index, and search and get your results all more quickly than
    finding the results in windows explorer.

    Hi,
    It should be caused that Windows Search is not installed on the second server. See following steps to install it:
    1) Start Server Manager
    2) Click on Roles in the left navigation pane
    3) Select Add Role in the Roles Summary pane to the right
    4) Select the File Services role and click Next
    5) Select the Windows Search role service and Finish the wizard.
    Meanwhile, when you search for a file such as "data", input keyword data and click the Advanced Search at the bottom to result box. Then you can select "Data and modified" and "is after" December 1, 2010
    Shaon Shan |TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • Why can't a user see all files in a network share?

    Windows Server 2008 R2 is sharing a folder. Advanced Sharing permissions give Everyone Full Control.
    NTFS Permissions give the OU "Operations" read/modify permissions.
    In the Operations OU, 1 user (let's call him John) cannot see all the files in this folder. For example, here is the real contents of the folder:
    File1
    File2
    File3
    File4
    File5
    Everyone in the Operations OU sees all the files, except John. When John opens the folder, he sees:
    File2
    File4
    File5
    Several files are simply missing from the list. I have no idea where to look for help on this one. The files are dynamically added to the folder each day, and each day are cleared out. So every day it is a new set of files being generated (they are coming
    from a PDF printer). There is no pattern to which files John can see, and which he cannot. Does anyone have any ideas?
    Jesse

    I had the same problem, and it was related to permissions. My PCs are now running Windows 8.1 and folder properties are set to display file name extensions of all files. The 2 invisible files are File1 and File3 in your example. I have copied them to
    both PCs. Computer A can see them on its own drive, and on computer B via UNC. Computer B can see them on its own drive, but not
    on computer A via UNC. The cause: computer B didn't have permissions on these 2 files on computer A. I was starting the UNC directly from File Explorer, and, in my case, this uses HomeUsers for permissions (over my home network). So, on computer A, I gave
    permissions on these 2 files to the user HomeUsers and that fixed the problem. I will also create a more general solution using inherited permissions.
    Specifically, I selected the file and chose properties/security/advanced/add/select a principal, then typed HomeUsers "Check Names", OK, and selected the desired permissions. This fits your situation: the files are being created automatically and
    don't have the correct permissions for the other PC to see them. Inherited permissions should fix it.
    Tom

  • How can I remove a deleted content file from my book's Table of Contents? I

    I deleted the file, saved the book, updated the book, updated the TOC references, and confirmed that the file has been deleted -- but it's still there in the TOC. How can I get it out of there? And at what point in the proceedings should it be gone from the TOC?

    > I deleted the file ....
    How? You need to delete-from-book using the Book menu. A right-click option on the component file name.
    > ... updated the book, ...
    A necessary step, but might not work if the remove isn't done correctly.
    > .... updated the TOC references ...
    What does that mean?
    I would expect a delete-from-book, followed by an update-book, would suffice.

  • I can't rename or move RAW files in Bridge (Mac)

    Permissions are all set to read/write in finder and other file formats are fine. Batch rename just does nothing, trying to move it gets the error message "The operation cannot be completed because you do not have sufficient permissions"
    Running Mac OS X Lion 10.7.3 and all software is up to date.
    Help?

    Alas, I just found a jpeg I can't move.
    There are two things to try also.
    Don't know if you have cached a lot of files already but personally I would manual dump the Cache file for Bridge and also the second option, dump the plist file for bridge.
    You have to cache the files again but that takes only a bit of time, depending on amount and file size.
    Also you have to go to the user library that by default is hidden in 10.7. I'm still on 10.6 but there are a lot of solutions on Google to retrieve the user library.
    Quit Bridge (and for safety all other CS Suite apps.)
    in the user library preferences folder find the Bridge  (still not clear what version you are using?) plist file but for CS5 that is Bridge version 4 (com.adobe.bridge4.plist) and manual drag to the trash.
    Then in the same library caches folder go to Adobe/BridgeCS5 / and in here delete both the cache folder and plug in to the trash.
    Again run check and repair permissions on your Mac and then restart Bridge again with option key and again reset preferences.
    Yes, you have to recreate the custom settings but that is only a few minutes, al your saved workspaces and keyword list are still in place and workspace reset gets your saved workspaces back (only without the UI colors, but those are also easy to recreate)

  • Can I rename an emebedded graphic file without having to re-do my designs?

    Hi folks... Once having created and published my site, is there a way to rename the names of the graphic files which have been embedded without having to first rename them, embed in layout, then publsih again?
    Eg. say my home page has two graphic files, one called 133.jpeg and the other tony.jpeg. Once I publish the site, can I use iWeb to rename the files to say wedding01.jpeg and portrait01.jpeg and have the links automatically updated and the new named files uploaded?
    Images I have used on my site are a mish mash of names, and I would like to name them to match the content of the pages they are on (eg. portraits01.jpg, weddings.jpeg, babies.jpeg). Guess I want to make the images easy for search engines to recognise as content related. Hope you can help. David

    This is exactly what I am trying to do. I've created an entire site and am now realizing that the names of the graphics should correlate better to the sections and/or site name for searching purposes. I'd love to be able to do this within iWeb so that I don't have to re-do the graphics manually.

  • Can I rename or move backup files from my Time Capsule?

    I have replalced my Macbook Pro with a new one with the same name. I have backup files on Time Capsule (Time Machine files) that I need to preserve for now, but I want to start backing up the new MB Pro without Time Capsule mixing the old with the new (since they have the same name). So I'd like to move the old files to a different drive or rename them so Time Machine won't use them, but don't want to corrupt them in the process. And if that works, will I still be able to open them to restore select files if needed?
    Really appreciate any advice on this.
    Thanks
    Fred

    You will corrupt your backups if you change any name in your backed up folders. What I recommend you to do is to move your backup files of the old Mac to another external drive, so you do not have them stored on the Time Capsule taking up space for the new Mac > http://support.apple.com/kb/HT5096?viewlocale=en_US&locale=en_US
    Also, see > http://pondini.org/TM/18.html#id21

  • How to Copy FrameMaker Master Pages to all files in a book?

    Newbie question.
    I've created a Master page template for a title page that I now want to apply to every file in my collection of books (~5 books, +30 files).  How do I do this?
    The page has a full page image and different margins.
    I would try to brute force (manually recreate it in every file) but it is nearly a fluke that I managed to get it right to begin with.
    I see there is a way to import reference pages--what about master pages?
    Thanks!
    Katherine

    Katherine, are you wanting to import just a single master page (e.g. one called "Title"), but not the Left/Right default pages,  to all the other docs?
    that's difficult to do in FM's dialogs because (as you may have found already) you can't choose specific master page(s)  to import, it's an all-or-nothing import.
    Also, it helps us if you specify what version of FM, including the "pxxx" numbers as shown in Help > About, that always helps folks answer more precisely if there are variations among versions.
    Sheila

  • How can I export to a text file from address book?

    I started a group in Address Book for a project. Now it is the most complete database of folks involved. I want to send it to some folks who live in the PC world.
    Exporting as a VCF or address book archive just doesn't do it.
    Any and all suggestions welcome.

    The feature to export SWF files directly from After Effects has been removed. It never worked at all well.
    To create SWF files, use Flash Professional.
    If you want to play a movie that you've created in After Effects in a SWF container, then export your composition using Adobe Media Encoder in H.264 format and then link or embed that movie into a SWF file in Flash Professional.

  • Renaming files in a book

    Hi everyone,
    I need to rename files in a book, but from within the book. A Save as... won't update the cross refrences.
    I see an fcode for this (FCodes.KBD_BOOKRENAMEFILE), but I've been advised not to rely on these types of shortcuts.
    I don't see anything else documented in the Scripting Guide. Does anyone else have any other suggestions?
    Thanks so much!
    Heather A

    Just following up for anybody else who might need this in the future.
    My hangup was that pulling files from the book itself created Doc objects, not File objects (beginners mistake, you hate to see it). Anyway, here are some of the functions that I came up with to handle this task for anybody who needs it. Please be warned, this is quite literally my first ExtendScript project so this may not be the most efficient way to have done this (I'm always open to constructive criticism from those more experienced than myself). I know I went overkill with notes in the code, that was requested by colleagues who know less about code than I do so that if I were no longer employed for some reason another person could come in and understand exactly what the code was doing.
    function fileNameReplacer(FullArray, CodeBook, BookFile) {
        /*The fileNameReplacer steps through all of the files in the book looking for those who need to be renamed.
            The function first renames all of the files, and then cycles through each file's Crossreferences and updates the
            names to reflect name changes*/
        /*Local variables are created*/
        var FileName,
            BookName,
            FilePath,
            FullName,
            FileType,
            EncodedName,
            OldName,
            NewName,
            ThisFile,
            OpenFile,
            FileArray;
        FileArray = FullArray;
        /*Loops through all of the files in the book*/
        for (var i = 0, len = FileArray.length; i < len; i++) {
            /*Tests if the file is type 255 which would signify it is a folder or a group (These will not be renamed and would throw errors)*/
            if (FileArray[i][0].type == 255) {
                /*If the file is identified as a group or folder, it is removed from the Array with the "splice" command*/
                FileArray.splice(i, 1);
                /*The counters for this loop are then adjusted to reflect the new length of the "FileArray" variable*/
                i = i - 1;
                len = len - 1;
                /*Starts the next round of the loop (which is actually repeating the same loop but without the group or folder in the Array)*/
                continue;
            /*If the file being looked at is not a folder or group, it is assigned to the "ThisFile" variable*/
            ThisFile = FileArray[i][0];
            /*Checks the file to see if it's element catalog has values. If there are no values, it would mean that there is no data from which
                to develop the encoded name, and likely means the file is something like a cover page or table of contents which do not need encoding*/
            if (ThisFile.ElementCatalog.length !== 0) {
                /*If the element catalog has items in it, the name of the current file being examined is assigned to the "FullName" variable*/
                FullName = ThisFile.Name;
                /*The FullName is then split into an array at each backslash (Backslashes in JavaScrip have their own meaning, in order to
                    input a single backslash two must be used). The last item of the array is the file name which is assigned to the "FileName"
                    variable using the "pop" command*/
                FileName = FullName.split("\\").pop();
                /*The FileName is then split at the period, and the file extension with a leading period is assigned to the "FileType" variable.*/
                FileType = "." + FileName.split(".").pop();
                /*The file path without file name is assigned to the "FilePath" variable. This is done by identifying where in the "FullName" variable
                    the "FileName" begins, and then taking a substring of the "FullName" up to that point.*/
                FilePath = FullName.substr (0, (FullName.indexOf(FileName)));
                /*The new encoded file name is found by running the current file through the nameEncoder function along with the Abbreviation List
                    (Called "CodeBook" in this function). The value produced by the nameEncoder function is assigned to the "EncodedName" variable*/
                EncodedName = nameEncoder(ThisFile, CodeBook);
                /*The encoded name and original name are then assigned to locations 2 and 1 in the File array respetively*/
                FileArray[i][2] = FilePath + EncodedName + FileType;
                FileArray[i][1] = FullName;
                /*The old name and new name are compared to see if a change has actually occurred*/
                if (FileArray[i][1] === FileArray[i][2]) {
                    /*If no change has occured, the file is removed from the array using the "splice" command, since it will only slow down later processes.*/
                    FileArray.splice(i, 1);
                    /*The loop counters are updated to reflect the change in FileArray length*/
                    i = i - 1;
                    len = len - 1;
                    /*Starts the next round of the loop (which is actually repeating the same loop but with the file not requiring renaming removed)*/              
                    continue;
            } else {
                /*If the element catalog for the current file does not have any values it is removed from the "FileArray" using the "splice" command*/
                FileArray.splice(i, 1);
                /*The loop counters are updated to reflect the change in FileArray length*/
                i = i - 1;
                len = len - 1;
                /*Starts the next round of the loop (which is actually repeating the same loop but with the file lacking elements removed)*/
                continue;
        /*At this point the FileArray contains only files that can, and have been renamed; along with their current and new names*/
        /*Loops through all files in the FileArray*/
        for (var l = 0, lenA = FileArray.length; l < lenA; l++) {
            /*Assigns the current file, its old name, and its new name to the "ThisFile", "OldName", and "NewName" variables respectively*/
            ThisFile = FileArray[l][0];
            OldName = FileArray[l][1];
            NewName = FileArray[l][2];
            /*Opens the current file assigned to "ThisFile" as a File object. File objects allow for changes on the drive itself to be made, while
                changing the .Name attribute of a Doc object will not. This allows for the encoded names to be applied directly to the files themseves.*/
            OpenFile = File(ThisFile.Name);
            OpenFile.rename(NewName);
            /*Changes the file's label to the value of "NewName" and removes the file type (as the label does not show file type)*/
            ThisFile.Label = NewName.split(".").shift();
            /*Changes the PrintFileName value to the value of "NewName" with the file type changed to ".ps"*/
            ThisFile.PrintFileName = NewName.split(".").shift() + ".ps";
        /*Traverses all files in the books and renames the target the book is looking for. If this is not done, the book will still think the old names exist and will
            try to find them to no avail. "traverse" function sends each component in the book through another function,
              in this case the bookComponentRenamer, and supplies the second function with a parameter, FileArray here.*/
        traverse(BookFile, bookComponentRenamer, FileArray);
        xrefRenamer(FullArray, FileArray);
        /*Saves the book file with the updated component names*/
        BookFile.SimpleSave(BookFile.Name);
        /*When the book is closed, the BookFile variable will no longer function. Assigning the current books name to the "BookName" varibales will allow the book to be reopened*/
        BookName = BookFile.Name;
        /*All open files are closed*/
        closeAll();
        /*Curent book is reopened*/
        BookFile = openBook (BookName);
        /*All book files (now with updated names) are opened*/
        traverse(BookFile, openfile);
        /*Returns the updated book back to the location that originally called the fileNameReplacer function*/
        return BookFile;
    function bookComponentRenamer(Component, FileArray) {
        /*The bookComponentRenamer compares the current book component with names on the FileArray (these are files that have name changes.
            If a match is found, that compent's name is changed within the book itself. This ensures that the names the book file is looking for reflect the updated file names created by this program*/
        for (var i = 0, len = FileArray.length; i < len; i++) {
            if (Component.Name === FileArray[i][1]) {
                Component.Name = FileArray[i][2];
    function xrefRenamer(AllFiles, RenamedFiles) {
        var ThisFile,
            ThisXREF,
            NextXREF,
            OldName,
            NewName,
            XREFTest;
        for (var i = 0, len = AllFiles.length; i < len; i++) {
            /*Assigns the first cross reference in the current file to the "ThisXREF" variable*/
            ThisFile = AllFiles[i][0];
            ThisXREF = ThisFile.FirstXRefInDoc;
            /*Whether "ThisXREF" contains a valid cross reference (having a null value means the file has no cross references, or we have already
                looped through them all and can proceed to the next file in the FileArray)*/
            while (ThisXREF.XRefFile !== null) {
                /*Assigns the next cross reference in the file to the "NextXREF" variable*/
                NextXREF = ThisXREF.NextXRefInDoc;
                /*Loops through all of the files in the FileArray. This will let the current cross reference be compared to the files being renamed and see if
                    there are any matches*/
                for (var j = 0, lenA = RenamedFiles.length; j < lenA; j++) {
                        /*Assigns the old name and the new name of the file being compared to cross references to the "OldName" and "NewName" variables respectively*/
                        OldName = RenamedFiles[j][1];
                        NewName = RenamedFiles[j][2];
                        XREFTest = ThisXREF.XRefFile.indexOf(OldName);
                        /*Tests if the current cross reference being examined links to the current comparison file*/
                        if (0 <= XREFTest) {
                            /*If yes, the cross reference is updated with the new name*/
                            ThisXREF.XRefFile = ThisXREF.XRefFile.replace(OldName, NewName);
                            /*Ends the comparison loop for this cross reference as the correct replacement has been found*/
                            break;
                /*Assigns "ThisXREF" with the value of the "NextXREF" the comparison loop starts again*/
                ThisXREF = NextXREF;
            ThisFile.SimpleSave(ThisFile.Name);

Maybe you are looking for

  • Trying to set control hints in entity object attributes in generic classes

    Hi, how are you? I work for a project , that uses JDeveloper 10.1.3.3 version and I am assigned to solve some problems in the part that is associated with ADF Business Components—Model—of the application. The question is how could I implement generic

  • Thread safe Servelt?

    Hi all, Trying to resolve some confusion regarding thread safety, please help. I'm implementing a servlet controller model in which the servlet will act to direct jsp request processing. The example in the book I'm using does not synchronize any of t

  • Uploading a document as something other than a Document class

    We have created a new subclass of the Document class with additional attributes that we need for all documents being uploaded into the system. Is there any way (without rewritting the upload web page) to assign all documents being uploaded as the new

  • Any best practices on workflow design??

    I feel difficult when migrating applications from DEV->TEST->PROD.        This is because I have created web services in .net.        So, for each migration, I am suppose to change all the WSDL links in all forms and Workflows.        Currently:     

  • Command line exp status return

    Hello I'm using a batch file with an export to backup my DB but I would like to receive an email if something go wrong, maybe even with the log file. How can I check if the exp fails? Thanks Ownr