Find/change issue

In versions of InDesign up to CS6, I could do something with find/change that doesn't seem to work anymore. I will try to describe it. Often, when working on a book, after the first proofreading pass, the editor will send me back page numbers to insert. In the original file I make, I use dummy text for all of these, putting 00 (2 zeros) and coloring them pink so they stand out and so that any other instance of 00 which is not a page number won't get selected. So when I need to do all the replacements, I can simply search for "00", followed by text color M100 in the find/change box. Here's where my problem lies: prior to CC, the first found instance of the 00 would be highlighted and I could just type in the correct number where the highlight was. Now that won't work, and InDesign wants me to type the correct number into the "change" field and then hit find next. It seems like a small thing, but it actually adds a ton of time when you have 200 or so instances to change. Can anyone help me here? Or did I used to have a plug-in that I've forgotten?

Same problem here. Works with CS6, the dialog in CS6 looks more like Apple GUI. In CC and CC2014 the GUI looks more like Adobes own.
When searching for a word, that doesn't exist, the dialog pops up and after that the focus in the search box, doesn't mark the word.
So we have to click search box again and type a new search. In CS 6 it did mark the search directly after the dialog.
Very buggy.

Similar Messages

  • More Find/Change Issues !!

    by script I'm going to create and setup new doc, use a dialog to place a text file, and remove content from the text, format and save.<br /><br />the text file contains old msword-to-pagemaker format tags that I need to delete. the tags are in this format: <br /><br /><PmTags1.0Win><fSouvenir>    etc.<br /><br />I need to delete or convert to indesign cs3 the tags<br />(including "<" & ">" signs). <br /><br />I saved a series of 8 find/change steps to delete the content (text not grep) and need to run them consecutively and through as many as 400 entries<br />(all in the same threaded text box).<br /><br />Supposedly their is a "new" FindChangeByList.jsx somewhere that works, but I am unable to find it. the scripting/index page on adobe's website is useless, and provides no help what so ever. no links either.<br /><br />Any help would be greatly appreciated.

    Hi Seth,
    re: "Supposedly their is a "new" FindChangeByList.jsx somewhere that works, but I am unable to find it. the scripting/index page on adobe's website is useless, and provides no help what so ever. no links either."
    I just looked, and everything is still working. Go to:
    http://www.adobe.com/products/indesign/scripting/index.html
    Then click the Scripting Resources tab.
    Here are the direct links that might be helpful--first, updated sample scripts:
    http://wwwimages.adobe.com/www.adobe.com/products/indesign/scripting/downloads/indesign_cs 3_sample_scripts.zip
    Second, the scripts that go with the Scripting Guide:
    http://wwwimages.adobe.com/www.adobe.com/products/indesign/scripting/downloads/indesign_cs 3_guide_scripts.zip
    In the latter, you should take a look at the ReadPMTags.jsx script (it's in the Text folder inside the JavaScript folder of the uncompressed archive). You can take the function (of the same name) from that script and modify it to do exactly what you want.
    Also, if you don't see links or information at that page--which browser are you using?
    Thanks,
    Ole

  • Finished script: Use grep find/change to fill in a supplied table of contents

    This script is now complete, and has been the subject of most of my previous posts. Just in case anyone wanted to know what the finished script ended as, here it is.
    Thanks so much to all. A lot of really helpful folks on this board are very responsible for the success of this task. This script is to be one of hopefully many in the creation of our records. But it's a huge leap forward. Thanks again to everyone that helped.
    Cheers,
    ~Nate
    Task:
    Automatically find town names in listings, and fill in table of contents template on page 2 accordingly.
    Example of page 2 toc, initially:
    Example of a page of content. The town names are what need to be referenced on the TOC:
    Example of page 2 toc once script is finished:
    Because of the need to include the transaction dates on the TOC (comes as a provided, tagged-text file), a simple Indesign-generated TOC can't be used alone.
    This script uses an Indesign-generated TOC that's on a master page called "T-tocGen" ... It then uses grep search and replaces to grab the needed information, and insert it into the page 2 TOC.
    The script will update a generated TOC and then search for an instance of a page number, and town name. The generated toc lists all included towns in the following format:
    (line start)## tab townName(line end)
    In Grep, this would be (please note, extra \ for \d and \t ... javascript needs that for some reason):
    ^\\d+\\t(.*)$
    After the script gets the info it needs from a found instance of the above, it replaces that line with "---", to prevent that line from being picked up once again.
    The script with then place the needed page number in it's rightful place on page 2, replacing the XX.
    A while loop is used to repeat the above process until there are no longer any instances of "^\\d+\\t(.*)$" present.
    Not every town runs every issue, so once the script is done, it removes all remaining instance of "XX" on the page 2 TOC.
    FINAL CODE:
    TOC replace
    This script will use grep find/change methods to apply page numbers in
    tocGen to the XX's on page2TOC.
    // define the text frame of generated TOC
        var tocGenFrame  = document.masterSpreads.item("T-tocGen").pages.item(0).textFrames.item(0);
    // udpate generated TOC ... store contents in tocGenStuff
        var tocGenStuff = updateTOCGen();
    // set variable for while loop
    var okGo = "1";
    // while okGo isn't 0
    while(okGo.length!=0)
    // get town info from tocGen
    getCurrentTown();
    // replace XX's with tocGen info
    replaceTown();
    // grep find ... any remaining towns with page numbers in tocGen?
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "^\\d+\\t(.*)$";
    // set current value of okGo ... with any instances of above grep find in tocGen
    okGo = tocGenFrame.findGrep();   
    // grep find/change all leftover XXs in page2TOC
    app.findGrepPreferences = app.changeGrepPreferences = null;       
    app.findGrepPreferences.findWhat = "^XX\\t";
    app.changeGrepPreferences.changeTo = "\\t";
    app.activeDocument.changeGrep();  
    // clear grep prefs
    app.findGrepPreferences = app.changeGrepPreferences = null;
    //  functions                  //
    function getCurrentTown()
    // grep options   
    app.findChangeGrepOptions.includeLockedLayersForFind = true;
    app.findChangeGrepOptions.includeLockedStoriesForFind = true;
    app.findChangeGrepOptions.includeHiddenLayers = true;
    app.findChangeGrepOptions.includeMasterPages = true;
    app.findChangeGrepOptions.includeFootnotes = true;
    // grep find:  startLine anyDigits tab anyCharacters endLine
          app.findGrepPreferences = app.changeGrepPreferences = null;
          app.findGrepPreferences.findWhat = "^\\d+\\t(.*)$";
    // get grep find results      
    currentGen = tocGenFrame.findGrep();  
    // store grep results content into currentLine
    currentLine = currentGen[0].contents;
    // match to get array of grep found items
    currentMatch = currentGen[0].contents.match("^\\d+\\t(.*)$");
    // second found item is town name, store as currentTown
    currentTown = currentMatch[1];
    // change current line to --- now that data has been grabbed
    // this is because loop will continue as long as the above grep find yields a result
           app.findGrepPreferences.findWhat = "^\\d+\\t"+currentTown+"$";
                  app.changeGrepPreferences.changeTo = "---";
                tocGenFrame.changeGrep(); 
    function replaceTown()
    app.findChangeGrepOptions.includeLockedLayersForFind = true;
    app.findChangeGrepOptions.includeLockedStoriesForFind = true;
    app.findChangeGrepOptions.includeHiddenLayers = true;
    app.findChangeGrepOptions.includeMasterPages = true;
    app.findChangeGrepOptions.includeFootnotes = true;
    // find: XX currentTown .... replace with: currentLine
        app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.findWhat = "^XX\\t"+currentTown+" \\(";
        app.changeGrepPreferences.changeTo = currentLine+" \(";
    app.activeDocument.changeGrep();   
    function updateTOCGen()
    //set vars ... toc text frame, toc master pag
        var tocGen  = document.masterSpreads.item("T-tocGen").pages.item(0).textFrames.item(0);
        var tocGenPage  = document.masterSpreads.item("T-tocGen").pages.item(0);
    //SELECT the text frame generatedTOC on the master TOC
        tocGen.select();
    //Update Table of Contents by script menu action:
        app.scriptMenuActions.itemByID(71442).invoke();
    //Deselect selection of text frame holding your TOC:
        app.select(null);
    //store contents of toc text frame in variable
        var tocGenText = tocGen.contents;
    //return contents of tocGen
        return tocGenText;

    Thanks for the reply.
    You are correct but the problem is there are three rows, One row is 100% black, the second is 60% black and the third is 40% black. I want to change the black to blue, the 60% black to an orange and the 40% black to a light shaded blue. In the find/change option you can select the tint you want to find and replace but yea.. does work on table cells.. oddly enough.

  • GREP 'find/change' by list script: find a text string containing different para styles

    Hi
    I'm don't write scripts but do 'enjoy' copying, pasting and changing existing code/txt files.
    I have built a GREP find/change .txt that performs a large number of text edits/changes.
    But I'm left with an issue where I have paragraphs of text (styled earlier in the .txt file) that I'm unable to identify using GREP the usual way. I need to identify text in a particular paragraph style, followed by text in another paragraph style.
    Is it possible with GREP to create a search string to find: text styled with one paragraph style, ending with a paragraph return, and to include in that selection the following paragraph/s styled with another paragraph style?
    MTIA Steve

    seb400 napisał(-a):
    What do you mean by I would mark "changing" in "copying, pasting and changing"?
    Hi Steve,
    I mean I can see a way by modifying some existing code with "find...change" job
    1. set criteria to findGrep
    2. store findGrep() in an array
    3. check each found object if next paragraph matches some new criteria
    4. run changeGrep() if true
    Jarek

  • Find/Change problems within a nested style?

    I have a problem with Find/Change (in both CS4 and CS5) not recognizing text within its “find” parameters when text that fits those parameters is part of a nested style. I want to find any instance of italic in the text, regardless of what paragraph or character style it is, but F/C only intermittently finds italics, both within and without that text existing in a nested style. Has anyone come across this issue?
    There is NOTHING different about the text that is recognized by F/C–or not recognized–that shows up in any of the panels or palettes. There are no font conflicts. I’ve replaced prefs and saved data files. If I go into the character palette and change the italic portion of the nested style to “italic” character style (it shows up in character palette as [none], even though it has a nested style), then F/C finds it for sure; but if I don’t do that, then F/C will sometimes find it, and sometimes not, and sometimes in one instance and not in another! There is no hidden formatting that shows up in story editor. I remade another nested para style with the same formatting but with varying results! Help… I’ve tried everything.

    I have a problem with Find/Change (in both CS4 and CS5) not recognizing text within its “find” parameters when text that fits those parameters is part of a nested style. I want to find any instance of italic in the text, regardless of what paragraph or character style it is, but F/C only intermittently finds italics, both within and without that text existing in a nested style. Has anyone come across this issue?
    There is NOTHING different about the text that is recognized by F/C–or not recognized–that shows up in any of the panels or palettes. There are no font conflicts. I’ve replaced prefs and saved data files. If I go into the character palette and change the italic portion of the nested style to “italic” character style (it shows up in character palette as [none], even though it has a nested style), then F/C finds it for sure; but if I don’t do that, then F/C will sometimes find it, and sometimes not, and sometimes in one instance and not in another! There is no hidden formatting that shows up in story editor. I remade another nested para style with the same formatting but with varying results! Help… I’ve tried everything.

  • Find/Change Inserting paragraph break

    Hello
    I am trying to insert a paragraph mark between two lines of text using find/change
    The first line has a heading style and I want to insert an empty line (Paragraph) after it and before the next line (without changing any formatting)
    I am able to use enter the correct parameters in find but can't figure out what parameter to use in 'Change to"
    Forced line break doesn't produce what I want. Neither does standard carriage return (not sure what that is)
    I have tried both Text and Grep dialogs without success. Yes I read the help files.
    This will be simple for you guys but is stumping me.
    Any ideas oh brilliant ones?
    As usual Thanks much in advance

    Err, a paragraph mark? You mean a paragraph break?
    Anyhow, if you insist on Doing it Wrong, you can use ^p ("End of Paragraph") in the change field. So you might
    change ^p to ^p^p to insert a blank paragraph between each paragraph. For instance. But again, it is the wrong answer.
    Yes-a paragraph break.' Sorry for the imperfect terminology
    The first line is a heading style which I was advised in this forum to make into a 'list style' due to TOC issues
    The 'doing it wrong' paragraph is going to be used to anchor a graphic and then converted to a very small paragraph mark (nearly invisible) as advised in another article
    I did use the
    change ^p to ^p^p
    but it creating another list style as the paragraph break. Its ok. I went ahead and did it anyway and then manually changed all of those entries into a regular paragraph 'break'
    With 300 graphics I would like to automate this but.....
    Thanks for your reply

  • GREP find/change problem

    Hi, am trying to execute InDesign's default find/change AppleScript script to fix many formatting issues in a large document. One of them is occurences of a two-digit dollar figure followed by a comma (eg. "$10,") that needs to be changed to have no comma.
    Using GREP I can pick it up by finding "\$\d\d," but when I replace it with "\$\d\d" I get the actual string "\$\d\d". IE. "$10," becomes "\$\d\d" rather than "$10". Am I misundersting how the 'change' part of GREP works? Can any one advise?
    FYI the line in the find/change support .txt doc is:
    grep
    {find what:"\\$\\d\\d,"}
    {change to:"\\$\\d\\d"}
    {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false}
    Remove commas after prices.
    ...which includes extra backslashes to escape the backslashes that are part of the GREP expression.
    Any help much appreciated!
    Thanks.

    No, unfortunately lookbehinds don't work with variable-length strings. That's the case with all GREP implemantations, not just InDesign's. You can sort of get around it by using or-constructs, but they soon become unmanageable. Here's an example (split and indented just for clarity, you would need to write all this on one line):
         (?<=\$\d)
         |
         (?<=\$\d\d)
         |
         (?<=\$\d\d\d)
    This one says "if a comma is preceded by $ and a digit OR by $ and two digits OR by $ and three digits, then . . ." As you understand, if you need to allow up to six or seven digits, possibly thousand separators too, then lookbehinds become unpracticable.
    >I'm really struggling to get to grips with how GREP statements work.
    Try this: http://oreilly.com/catalog/9780596156008/
    Peter

  • Has anybody else noticed that Find/Change searched according to -

    Has anybody else noticed that Find/Change searched according to date added?  It doesn't go page by page — it searches in the ORDER that text was added to a document.
    For instance, if you started with Pages 300-400, then added text to page 200, then added text to pages 100-200, THAT IS THE ORDER Find/Change will search.  Crazy, no?
    By the way, does anyone know how to FORCE Find/Change to always center a spread?  Currently, it moves the various pages all over the place during a search …

    We are using Exchange 2010 and IOS 6.0.1 and seeing this issue with exceptions associated to recurring meetings on both the iPad and iPhone. 
    Oddly, you can make the first change (time of meeting, for example) to an exception in the series and have the change sync from Outlook 2010 to the iPad. If you attempt to make a second change to the same exception, the 2nd change does not sync to the IOS device.  Thoughts?

  • Find/Change won't let me load any fonts in the "Find Glyph:" tab

    Hi all,
    I'm trying to do a basic find/change to replace the " in a document. However when I try to choose a font family, the tab window is either grayed out or won't let me load the font I need, even though the font is loaded and active. It's very erratic; it will work fine with some files but not with others. Any ideas?
    Thanks!
    InDesign v.5.0.2
    OS X 10.4.11

    i have the same issue, will only let me find 1/2 fonts trying to do something similar by importing a word document and doing styling by find/change as the writer doesn't and wont use style sheets.

  • Find/Change Glyph won't change fonts.

    Suddenly, huge inexplicable InDesign issue out of nowhere while I'm working under deadline, of course.
    Doing a find and change in the Glyph panel, trying to replace all instances of a carrot symbol in Helvetica to a triangle in Zapf Dingbats. InDesign does the find and change, but keeps the font as Helvetica, so I get the obnoxious box with an X in it.
    WHAT could possibly be causing this, if not just a bug.

    Find
    ^
    Change to
    <leave blank>
    Find Format
    <leave blank>
    Change Format
    Click the box - select the font you want it to change to.
    (note if you have a character style applied to the symbol it may not change)
    To get it to change
    in the find format portion of Find/Change
    Find Format
    Click box beneath and select Character Style
    Change Format
    Click box beneath and select None for character style
    Insert correct font
    Say ok
    Run find change

  • FF Active Sync unable to find changes

    Hi ,
    My FF AS is unable to find changes and do not update my LDAP resource.
    I can see in log everything looks good except it is unable to find changes. What I did wrong, I am missing?
    I need your help. Can some one share their expertise?
    Thx

    I can update last name and fullname but other attributes are coming in changes.
    I am not sure what is issue?
    Any expert opinion

  • I think I solved my time changing issues- hope this helps

    Hey everyone, I think I've had some success with my time changing issues. I originally posted this to another user as a follow up to her question, but I'm reposting it here. Hope it helps:
    "msteinny,
    So i went to the apple store to meet with an apple genius to ask him why my phone's time kept moving up 1 hour everytime I synced my phone. Well he said that he's never seen this problem before, and after a trying a reset and restore he let me exchange my phone. The problem is that when I went to sync my new phone the problem still persisted. They told me it was probably something to do with my computer and its time zone settings.
    So I get home and click on my computers clock in the bottom right hand corner to bring up the date and time properties and sure enought my time is correct, the date is correct and the time zone is correct (Eastern Daylight Time). So I look through the different tabs (Date & Time, Time Zone, Internet Time). The first thing I tried to do was to change where my computer syncs its internet time. It was originaly set on NIST time. I then switched it to Windows time, but this didn't do anything. My clock would still change when I synced to itunes. The next thing I tried was fideling around in the Time Zone tabs. I noticed that the box that says "Automatically adjust clock for daylight savings" was unchecked, so I checked it and my computer's time jumped an hour ahead. So I left the box checked but moved my clock one hour back (to the correct time), clicked on apply and left it at that. I synced my iPhone and voila! The time didn't change! It stayed on the correct time! To to make a long story short, make sure that you computer's clock is set on "automatically adjust clock for daylight savings changes, make sure your time zone is correct, and that the time is right when that box is checked. I hope this helps you. I'm glad I got a new phone out of the deal;)
    Chris P. "

    As I mentioned in my post, whenever I checked that box the time would be incorrect. It would move up an hour. I've messed with this along time ago, way before I got my iphone. I think this had something to do with the daylight savings change that was implemented this year or last year. I dont remember if I never tried correcting it before, or if I couldn't, but this time I didn't have any problems correcting it. Anyway, since I couldn't correct it back then, I just left the box uncheck and decided that I would change the time manually when the next time change occurs. But it seems to work fine now so all is well.

  • How to find Change number for a Material

    Hi,
    If we know the material number and Revision level then how can we find the Change Number of that material.
    Is there any table in which i can find Change number for a revision level or is there any Function module available.
    Regards,
    Vaibhav

    Hi Vaibhav,
    Is there any table to find the change number and revision level of a material. I have change number and material and revision level coming from external system. But i need to check that with SAP whether it exists or not.
    Is there any table link to find whether a material has change number.

  • Find Change through external text file

    Hello folks
    I am bit pretty in InDesign scripting so could you please look into this.
    How can i change any particular text field in Indesign CS3 document from text file.
    I do have find change script but for each InDesign document specific text file is assigned.
    So each time i have to modify find change GREP property that is also repetetive of work. Is there any way to get find change information should be extract from external text file.
    Many Tanks in advance

    In the FindChangeByList script, you could customize the function myFindFile(myFilePath) {...} as to search the FindChangeList text file in the document location rather than the script location. That's an example. The question is: given a document, where will you have the corresponding FindChangeList?
    @+
    Marc

  • How to Open Find/Change with menuAction

    Hi,
    Read the question carefully I'm asking how to open the Find/Change
    dialog, not how to toggle it.
    Toggling is easy enough:
    app.menuActions.itemByName("$ID/Find/Change...").invoke();
    But if it is open, this will close it, and vice versa.
    I'm wondering if there's any way to specifically make sure it's opened?
    Thanks,
    Ariel

    Hi Ariel,
    This probably won't help but see https://forums.adobe.com/message/4413557#4413557
    If you could perform some action that will fail if the panel is closed then you could use a try catch to determine its state.
    I'll leave it to you to think of what that action would be.
    Trevor

Maybe you are looking for

  • A Freeze-up that I can't fix.

    Ok, so I have been having a problem that appears similar to the lookupd problem that many people have discussed here and on other Mac forums. I have a brand new Dual 2.3 G5, and it has worked fine for a week and a half, performing with wonderful spee

  • How do I change my iCloud Apple ID from one account to the other?

    I have two Apple IDs. I want to rationalise iCloud on my devices, but on my iPad I am signed in with one ID and on the iPhone and Mac it is the other. I want to sign in with the other ID on the iPad as well, but I can't find a way short of deleting t

  • Question related to PO Event Handler

    Hi Experts I am facing issues related to PO Header Event Handler: 1. When I make change to Statistical Delivery Date under Delivery Schedule tab in ECC, The PO Header EH is getting deleted in EM. May I know the reason behind this? Please suggest how

  • ITunes syncs an extra album with the exact same photos on iPhone 5?

    So i've been chatting with apple care for the past 2 hours and ive been transffered to different departments 3 times and NONE of them could help me. so Apple community, you are my last hope. I created an album of my own on iPhoto. lets say that the n

  • My unlocked iphone 4s, 6.0.1 not activate in t-mobile

    please reply me