Keep layout position when using Find/Change?

When using Find/Change in InDesign CS4, each occurrence of the "Found" material is centered in the window, so the page moves around with each find. Is there a way to keep the page in a fixed position when searching through a document?

Actually, I can think of a shortcut for the hard part: The user uses the
regular find/change UI to make all their settings. Then, they run the
script, which will simply use the settings in the UI. Nice, huh! So you
could get a listBox of all the finds -- select the entry and you get
taken to the desired location. Click the "change" button and the change
is made. Here's a proof of concept:
#targetengine engine20
var myFinds = app.findText();
var w = new Window("palette");
var myList = w.add("listbox", undefined, myFinds);
var changeButton = w.add("button", undefined, "Change");
myList.onChange = gotoFound;
changeButton.onClick = makeTheChange;
w.show();
function gotoFound(){
app.select(myFinds[myList.selection.index].parentTextFrames[0].parent.parent);
     app.select(myFinds[myList.selection.index]);
function makeTheChange(){
     myFinds[myList.selection.index].changeText();
Obviously very rudimentary: but this does work in CS4. If the list is
too long, though, the change button will disappear off the bottom of the
screen. Also, really once the change is made, the item should be removed
from the list, but there's a bug in CS4 that makes it impossible to do
that simply, if I recall correctly (or was that only a tree list?)
Also, I have found that the only sure way of getting the entire spread
to show is as I've done it above (and it would need much more error
checking than this -- for instance, overset text).
Ariel

Similar Messages

  • Dreamweaver CC generates one of 3 error messages when using find and replace on Win 8.1 64 bit.

    Dreamweaver CC generates one of 3 error messages when using find and replace is used more than twice in succession. "While executing onLoad in bc_afterSave.htm, the following JavaScript error(s) occurred: At line 188 of file C:\Program Files (x86)\Adobe|Adobe DreamweaverCC|Configuration|Shared|BC\JS\bc_sites.js": out of memory"
    or
    While executing runCommand in File_Save.htm, a JavaScript erroroccurred.
    or
    While exciting getDynamicContent inAdressURL.htm, a Javascript erroroccirred.
    Any thoughts - I end up closing DWCC and reopening. Will work for two additional Find and Replace before the error messaged\s popup again.

    bkaufman43 wrote:
    Thanks Jon. I tried all of those solutions before posting. Same problem. It seems that the problem is tied to DWCC. Do not have the problem when using DW6 on Win8.1. When running DWCC on a Win7 pc, we get the same error message. When running DW6 on Win 7, f&c works fine. It seems to be a bug in DWCC. DWCC works flawlessly on our Macs.
    The same steps apply to DWCC, you just need to choose the CC folders rather than the DWCS4-6 versions that the page talks about. The layout of CC's folders hasn't changed from the older versions which is why, I think, Adobe hasn't updated the troubleshooting page as of yet.
    As Nancy mentions, a 38,500 page site is sort of ridiculously large for a static website, that could be part of the problem, but your response quoted above leads me to think you may have tried the troubleshooting steps in the wrong version of the program. Could you confirm that?

  • Open PDF's in new window in document library when using "Find a file" search

    I need to be able to open PDF's in a new window from a document library when using the "Find a file" search built into the document library "All documents" view. I currently have the following javascript on the page:
    _spBodyOnLoadFunctionNames.push("setTargetBlank()");
    function setTargetBlank()
    { $("a[href$='.pdf']").removeAttr('onclick').attr("target", "_blank");
    This works great when going to the document library and navigating through the folders then clicking on a link.
    The problem is when someone goes to the document library then uses the "Find a file" search and then they click on a link. The "Find a file" search does not do a postback (reload) of the page, therefore my javascript to find the PDF links
    and make them open in a new window does not run for the links on the page.
    I have read the following article but this does not seem to offer a solution that will work in this situation for SharePoint 2013 (Office 365): http://social.technet.microsoft.com/Forums/sharepoint/en-US/7ad3224c-3165-47ae-95bc-4f3928e2f9a8/opening-document-library-pdf-in-a-new-window-sharepoint-2013?forum=sharepointgeneral
    I suppose the idea solution would be to somehow tap into the event that is fired when using "Find a file" search to run my javascript and update the links for the search results.
    Can anyone offer any solutions to this issue?

    Hi,
    According to your description, my understanding is that you want to open PDF files in a new window from a document library when using the "Find a file" search.
    As you said, the "Find a file" search does not do a postback (reload) of the page, therefore JavaScript to find the PDF links and make them open in a new window does not run for the links on the page.
    I recommend to use JS link to achieve the goal. Create a JavaScript override file and upload the JavaScript file to the Master Page Gallery, and then set the JS Link property of the document library web part to point to the JavaScript file.
    Here are some links about the JS link in SharePoint 2013 for you to take a look:
    http://www.idubbs.com/blog/2012/js-link-for-sharepoint-2013-web-partsa-quick-functional-primer/
    http://www.learningsharepoint.com/2013/04/13/sharepoint-2013-js-link-tutorial/
    http://zimmergren.net/technical/sp-2013-using-the-spfield-jslink-property-to-change-the-way-your-field-is-rendered-in-sharepoint-2013
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • How to use Find Change to add FC in front of all item numbers?

    Hello,
    I am using Indesign CS5 on iMac, running OS 10.8.3.
    I designed a product catalog that has 148 pages. Now I need to save the same design and make a new catalog for our wholesalers. On the wholesalers catalog I need to change the item numbers and add FC in front of each item number. How can I use find change to find each item and change them with FC in front of the item numbers? The following are a few examples of the item numbers:
    LED-4042 I want to change it to FCLED-4042
    UA-42 I want to change it to FCUA-42
    SC-110 change it to FCSC-110
    KN-10 change it to FCKN-10
    etc....
    I am hoping there is a fast way to find and change these.  I was looking in to GREP, but I could not figure how to do this.
    Thanks,
    Omar

    One way would be to just run it and then *remove* any double FC's -- but GREP can do even more! One of its many functions is to scan ahead for the presence or absence of certain text, and only act when it is (or it is not) there. This is called "lookbehind" (before the text you want to match) and "lookahead" (after the text you want to match).
    In this case, you want to find a phrase starting with capitals, but NOT the exact string "FC". That's a job for Negative Lookahead -- Only Match If Not.
    Try this: search for
    \b(?!FC)\u+-\d+\b
    ... the Replace With stays the same.

  • Why can't I see my media in the left sidebar when using finder?

    I recently made the switch to Mac and I have some confusion. When using finder, I am not getting an option to browse through my media such as photos, videos and music. How do I get these folders to appear on my sidebar?
    Thankyou.

    N8 Thomas wrote:
    I then went into my finder preference section and changed my "New finder window show" to my computer's name.  At that point I could view and find anything within it.  this part got the job done. 
    "You don't, they only appear in open file dialogs and in tool panels like in iMovie, iPhoto.
    To view your media, you open the app that you use to manage that type of media." this on the other hand was zero help
    What you did doesn't show the Media Browser. It just shows the folders where your media is stored. You may be correct that was all that cobacc wanted. 
    The Media Browser shows the actual media in thumbnails so that you can preview the media.
    However, neither requires any Sharing services to be enabled.

  • When using finder over the network, refresh problems

    When using finder, it keeps randomly refreshing and making duplicates of a particular folder. Once you go in and out its fine. Is there a fix for this? Have already removed finder prefs. Server that it is through is an xServe

    Hello, pretty strange one!?
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.

  • Can you use Find/Change to search for many different words at once?

    I have an 80 page catalogue in Indesign (CS5) - it has several thousands of catalogue numbers listed as text within it. I've just been given a list of 1000 catalogue numbers to search for and if they appear, remove them - is there any way to search for them all in one go, rather than one by one?
    I've started using Find/Change to search for the catalogue numbers but seem to only be able to search one catalogue number at a time that way.
    Any ideas welcome!
    Thanks

    GREP can search for more than one phrase "at once" (i.e., in one operation), like this:
    word1|word2|word3
    -- the pipe | delimits the separate words. Then again, GREP Is Not Magic™. This --
    ...  a list of 1000 catalogue numbers to search for ...
    is a bit too much to copy-and-paste into the single Find What line. There is a limit of ten or twelve (or something) OR phrases you can use in GREP.
    On the other hand: GREP is great at finding numbers. If all of your catalogue numbers obey some basic rule, for instance "all of them consist of 6 digits and there are no other numbers with exactly 6 digits", well, that we can probably work with.

  • How to prevent email when using find my iphone

    Hi there,
    Am I the only that finds the email confirmations annoying when using find my iPhone?
    Is there any way to prevent these emails, or a preference somewhere to turn them off?

    Apple:
         Considering the threads here and on other Internet sites, this is clearly a safety issue.  As a parent who uses this feature on my children's phone - this feature should be optional.  Notifying the bad guy when you are searching for your phone/child is not an option.  Thank you.

  • I accidentaly clicked "remove" when using find my iphone...how do I log in when my iphone is not with me to find it?

    i was using "find my iphone" and when given the location it was an old location. A post read that the iphone was either turned off or the wifi was not being used. A remove or cancel  button appears with this message. I accidentally clicked cancel and now when trying to retrive information about the location of my device it says that I must refresh page or set up instructions. There must be a way to reinstate my account without my device physically present but I do not know how...can someone help me?

    What ever device you still have on had.  Go to settings - general - about - name - then the name.
    I have 4 devices 2 iphone and ipad - which I've name differently so I don't get confused when using find my iphone.

  • How do I have my IPad Provide alert when using "Find my iphone" app

    How can I set my IPad so that it gives an aleert when using "find my phone" app?

    That's not an option find my phone app currently supports.

  • When using Find My iPhone, is it possible to hear live sound around the device?

    When using Find My iPhone app on the iPad2, is it possible to hear live sound around a device wham the "Play Sound" button is tapped?

    Yes.
    What do you hear?

  • How do I have my phone Make sound when using "Find my phone" app

    How do I have my iPhone make sound when using "find my. Phon" app?

    You can have the app send you an email when it is found, and you can set your email tone under settings-> sounds

  • Keep receiving error when trying to change device on my verizon.  Unfortunately, none of the lines on your account are eligible to receive the Online Authorization Code

    Keep receiving error when trying to change device on my verizon.  Unfortunately, none of the lines on your account are eligible to receive the Online Authorization Code. 
    Unable to change device on account.

    That would be great if they weren't 2 different size SIM cards.
    The code is a security feature and I realize this. It is to prevent someone from hacking your account and changing your devices without your knowledge. However, I am the account owner and I know exactly what is going on with my account at all times. I check data usage AT LEAST 2 times daily and I log into my account at least once daily. I would very quickly discover any issues. This feature is more of a (removed)
    Edited as required by the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

  • Why would iPad 1st Gen show up in two different locations when useing find my iPad App. ?

    Why would iPad 1st Gen show up in two different locations when useing find my iPad App. ?

    Why would iPad 1st Gen show up in two different locations when useing find my iPad App. ?

  • What shows on screen at startup when using find my mac if owner locks it?

    what shows on screen at startup when using find my mac if owner locks it?

    A gray screen where they will have to enter a six digit passcode to unlock the Mac. If the Mac were being used and the remote lock sent, the computer would re-boot to this screen.

Maybe you are looking for