Changing links? Multi-file find-and-replace?

So Dw has some sort of global link change tool, doesn't it? If I want to change "assets/video/banner.gif" to "assets/animation/banner.gif" everywhere it occurs in all of my local files -- how would I do that? Thanks!

iaufgp wrote:
So Dw has some sort of global link change tool, doesn't it?
Site > Change Link Sitewide.

Similar Messages

  • Multi File Find and Replace FAR missing from tools

    I have RoboHelp x5.0.2 and I have always used Find and
    Replace at my previous employer. I have started with a new company
    and the RoboHelp FAR is missing from Tools. I know you can Add a
    tool if you know the path, but I have no idea where to look.
    Some background:
    We use Source Safe (VSS) to check our files in and out.
    I have verified that all of the files are NOT read-only.
    HELP!!!!

    Maybe you are mixing up something. RoboHelp includes a tool
    named Multi-File Find and Replace. This should indeed be situated
    on the Tools pane.
    There exists a tool called FAR, which, among other things,
    offers a similar functionality. FAR is shareware and
    not included in RoboHelp.
    Greetings
    ---Dirk Bock

  • Changing the editor for Multi-File Find and Replace

    When I click edit on a file it opens it up inside Word. Anyway to get this tool to open the topic inside RH? Or inside another text editor like Notepad++? I don't trust Word to leave my code like I want it.
    Thanks in advance,
    Jared
    RH 7 (latest patches) authoring in RoboHTML
    Win 7 64-bit machine

    I just thought I would resurrect this thread, because I am encountering the same issue, except for me the Edit button just opens the topic IE.  As such, the only way to edit the topic is to right-click and choose View Source, then do another Find to get to the bit I wanted to edit, which is a bit of a faff.
    I'm running Windows 7 64-bit with IE9 and RH8.  As well as the suggestions made here, I have tried changing IE's HTML editor from the developer window (as described here), which works for IE itself, but not RH.  I've also tried editing the Registry and adding the path to Notepad++ to HKEY_CLASSES_ROOT\.htm\OpenWithList\Notepad++.exe\Shell\edit\command.  Again, this makes no difference, which leads me to think there is no association between IE9 and RH8. 
    The twist for me is last time I used this tool I'm sure it worked, but it has been a while and I cannot remember what other software changes have taken place that could affect RH.
    Regards
    Matt

  • Bug in Multi-File Search and Replace in RH6?

    I'm using the 6.0 trial, and one thing I want to be able to
    do is to replace the variables I put in using JavaScript with the
    new feature variables in 6.0. So, I went in to multi-file search
    and replace, and searched for:
    <script
    language=JavaScript>document.write(varProduct)</script>
    I copied this code directly from a topic, and pasted it into
    the Search tool.
    I don't even care whether I can successfully copy the code
    from my new variable for use as the replacement text; I'd be happy
    if the multi-file search would simply find all occurrences of my
    original code so I don't miss any during conversion to 6.0.
    It keeps coming up as not found, and this concerns me
    greatly. Has anyone else experienced this? Is it a known bug? Does
    anyone have a workaround?
    Thanks!

    Hi robowriter
    I'm assuming you are using the wondrous little applet known
    as Multi-File Find and Replace.
    Unfortunately, this little beastie is like a cat. It
    frequently has a fussy tummy and loves to hork up furballs. Well,
    not exactly. Really what it does is fail to properly handle
    anything with a line break. So you need a tool that does do this.
    Fortunately, one exists! It is called FAR (Find And Replace). Oddly
    enough, it was also written by a fellow Microsoft Help MVP named
    Rob Chandler. (Rob lives in Australia)
    You can download a trial version of FAR from the FAR page.
    Click here to visit
    the FAR page
    Cheers... Rick

  • Batch Edit Multiple HTML files | Find and Replace

    Hi,
    I would like to use Automator to automate (I know that sounds redundant) the following process.
    1. Take a group of html files
    2. Open each file so it can find and replace the script of any image folders
    Example:
    Change: img src="home_files/photo.jpg" to img src="images/photo.jpg"
    3. Save & Close each file
    I assume this this would have to be done in either AppleScript or Cocoa.
    Any help would be greatly appreciated.
    Thanks in advance.

    you most definitely don't need Cocoa for something like that. if all you need is a straightforward search and replace in a bunch of html files you can easily do this with a shell script. If you need some more involved search and replace you have to explain what it is exactly that you want.
    to automate direct search and replace you can do something along the following lines in automator
    1. get selected finder items (this will select your html files)
    2. run shell script action with input passed as arguments
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    for f in "$@"
    do
    fl=`echo "$f"`
    sed 's%home_files/photo.jpg%images/photo.jpg%g' $f > /users/$USER/.tmp.txt
    cat /users/$USER/.tmp.txt > "$fl"
    done
    rm /users/$USER/.tmp.txt</pre>

  • Reformatting files in Dreamweaver: Batch series of .dwr files (find and replace) consecutively

    I have to do complicated reformatting of an entire site. It's been simplified to a series of find and replace tasks for each file. Each find and replace string has been saved as a .dwr file. Currently I have to load and execute each .dwr file.
    How do you batch process or automate this task in Dreamweaver? In other words, queue up a series of .dwr files to be executed consecutively?

    OK here we go.
    This example, a simple Dreamweaver  Command Extension, will execute two Find and Replace commands in one go. (It can be any number of Find and Replace commands.)
    The first command replaces "the" and "this" with "phe" and "phis". The second command replaces <ul> ... </ul> with <ol> ... </ol>. (These of course can be any Find and Replace.)
    You need two files: a HTML file (for the  UI) and a Javascript file (for actions). I named them "Find and Replace Test.html" and "Find and Replace Test.js". (They can be any name.)
    Find and Replace Test.html
    <!DOCTYPE HTML SYSTEM "-//Adobe//DWExtension layout-engine 10.0//dialog">
    <HTML>
    <HEAD>
    <Title>Find and Replace Test</Title>
    <script src="Find and Replace Test.js"></script>
    </HEAD>
    <BODY>
    <form>
         <p>Are you sure?</p>
    </form>
    </BODY>
    </HTML>
    Find and Replace Test.js
    function canAcceptCommand() {
        return true;
    function commandButtons() {
        return new Array("Go!", "doIt()", "Cancel", "window.close()");
    function doIt() {
        dreamweaver.setUpFindReplace({
            searchString: "th(e|is)",
            replaceString: "ph$1",
            searchWhat: "document",
            searchSource: true,
            useRegularExpressions: true
        dreamweaver.replaceAll();
        dreamweaver.setUpFindReplace({
            searchString: "<(/?)ul>",
            replaceString: "<$1ol>",
            searchWhat: "document",
            searchSource: true,
            useRegularExpressions: true
        dreamweaver.replaceAll();
        window.close();
    Basically you can call any number of this pair of functions in the script:
    dreamweaver.setUpFindReplace(findAndReplaceObject);
    dreamweaver.replaceAll();
    Place these HTML and JS files in this directory:
    Dreamweaver App Directory/Configuration/Commands/ 
    Then in Dreamweaver, open "Insert" window. (You need to have a HTML file open in order to make the Insert window active.) At the top of the Insert window there's a category dropdown menu  ("Common" etc.). Do alt + click (ctrl + click) - then you'll see an item "Reload Extenesions" at the bottom of the dropdown. This will load this extension to DW. (Alternatively you can restart DW to load the extension.)
    Now it's ready to run the Extension. Open a HTML document you want to modify. Go to "Commands" on the menu bar. At the bottom of the dropdown there should be an item "Find and Replace Test". Select and enjoy
    Notes
    This example is set to perform the Find and Replace on the current document. You can change the scope to the entire site, or the selected files, etc, just like in the Find and Replace dialogue box. The API doc is here: http://help.adobe.com/en_US/dreamweaver/cs/apiref/WS5b3ccc516d4fbf351e63e3d117f9e09bcf-7ed a.html
    You can use dreamweaver.setUpComplexFindReplace(xmlQueryString) command instead. xmlQueryString is basically <dwquery> ... </dwquery> in your .dwr files, you can copy from your .dwr files. However xmlQueryString needs to be one continuous string (no line breaks), which can be a pain The doc: http://help.adobe.com/en_US/dreamweaver/cs/apiref/WS5b3ccc516d4fbf351e63e3d117f9e09bcf-7ed 9.html
    Command Extension general example in the doc: http://help.adobe.com/en_US/dreamweaver/cs/extend/WS5b3ccc516d4fbf351e63e3d117f53d6ec3-7fe 6.html
    I hope all of these make sense...
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • How can I perform a find and replace against all embedded links?

    Hi -
    We have a project which links to another project. The URL for the linked to project has changed, and now all hyperlinks fail when clicked.
    Yes - I can edit each and every link, but the person who set this up has literally hundreds of links in this project which now need to be changed. Please save my sanity and tell me there is a way to update all links programatically (replace infomoto.mot.com/robo/projects/iccs-bcs with infomoto.mot.com/iccs) in all places it is referenced.
    Thanks much,
    Anahid

    In theory you can use the built in Multi File Find and Replace as the string should be on one line. Personally I would use FAR from http://www.helpware.net/FAR and search using Start With / End With and Must Contain to ensure the string will be found even if it is split over two lines. You could also use BKReplaceEm which is free.
    Backup up your project before you start. Tools like this can fix issues in seconds, they can also wreck your project in seconds.
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • How can I multi-find and replace relative paths to external topics?

    I am using RH7 and publishing to a company server share. External topics are saved on the same server share and linked on my local drive to create a relative link. How can I do a multi-find and replace on the relative links to change the path to the external docs? The paths do not show up in the Topics List because they are relative, not absolute. Although changing all of the many paths manually would be job security, I would like an easier fix. Thanks for any help.

    Hello again
    Likely your best bet at this point is to use a good Multi-File Find and Replace utility.
    While RoboHelp has one included, it often fails. So we typically recommend something like FAR (Find And Replace) or BKReplace.
    Click here to visit the FAR site
    Click here to visit the page for BKReplace
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Find and replace by text and style

    We have a fairly large RH HTML project (300+ topics so far)
    most of which have a specific heading in Heading2 style. We want to
    change all of these to a style based on Heading2, but not use the
    Heading2 style b/c we don't want them to show up in the TOC. I have
    created a new style and can obviously open every topic and manually
    select and change each one - but I'm hoping that one of your RH
    gurus will tell me an easier way. Is there anything comparable to
    MS Words Find/Replace that will search the whole project for a
    specific word in a specific style?

    RoboHelp's Multi-File Find and Replace (in the Tools tab)
    should be suitable for this job, and you can control each
    occurrence as you choose. (Where this RH utility fails is when your
    search string might sit on more than one line, which won't be the
    case here.)
    You'll run two replacement passes (spaces added to < &
    > tags for proper viewing in this forum):
    Replace < h2 > with < p class=YourNewStyle >
    Replace < /h2 > with < /p >
    The < h2 > and < /h2 > strings will never be
    split between lines, so RH will catch every one.
    BTW, Add me to the list of FAR boosters; it'll let you change
    case, change file names, etc., etc., etc. Great tool!
    Good luck,
    Leon

  • Prevent Find and Replace from closing after clicking "Replace All"

    With the latest release of Dreamweaver CC (2014.1.1), there's been a minor change to the way Find and Replace works. I use Find and Replace a lot to clean up and delete code, so I might do many searches in a row to get things tidy. With the new version however, the Find and Replace window always closes after clicking "Replace All", which is very cumbersome. I need to open it up again, and it doesn't remember the text I entered to use as a replacement.
    Does anyone know if there's a way to prevent this window from closing after doing a Replace All? The previous version of Dreamweaver would keep it open and remember the text either until I changed it or I closed Find and Replace myself.
    Any pointers that would get me a little closer to the previous version's functionality would be appreciated!

    You need to do a find/change for each code individually, but it should be scriptable to take the .csv file and use it to load the find and change values. I'd try asking this over in the scripting forum: InDesign Scripting

  • Find and Replace across multiple topics

    I haven't used RoboHTML in a few years and am getting back to using it again. this is a fairly simple question, but the Help for RoboHelp doesn't seem to provide an answer.
      How do you do a simple find and replace across multiple topics?  I want to search for a text string and replace it with another text string.

    Hi,
    Have you tried to use the "Multiple File Find and Replace" option present in RoboHelp. You may access this option from Edit->Find and Replace in Files.
    Before trying to find the files, please ensure that the where field in the dialog points to the correct location of your project.
    Thanks

  • Find and replace in files does not refresh when changes are made

    Using RH10, I search for a term with the Find and Replace Options pod. I use the Find Results list as a reference only, and open each file from the Topic List. I do this instead of opening the topics from the Find Results tab because I want to see the WYSIWYG changes. Anyway, I make my edits and delete the search term from each topic. Then, to make sure I have done all the work, I run the search again. I expect to see no or at least fewer matches than before, but I still get some or all of the same results as before, even though I double-check the Design and HTML views of the topics and even check the source of a topic separately in Notepad, all indicating that the search term is gone from the topic.
    There is some ridiculous lingering or echo going on. I make sure to select Look in: <Current Project>, and the paths of all the Find Results files are fine. How do you refresh the search so that this echo doesn't occur?
    Also, I close the Find and Replace Options pod, reopen it and start the search again, and the same results are there.
    Message was edited by: DMilkes

    Hi there
    To avoid the message about the file being modified, close all topics in the editor before commencing with any find and replace operations. The message is produced because you have the aforementioned topics open in the editor.
    As you mention "Find and replace in files", I'm guessing you are referring to version 8. I just opened version 8 and performed a find and replace to confirm. There is a button allowing you to clear all.
    On the clicking and dragging to create a link, it's never worked that way. You simply cannot drag from the Topic List pod to do it. But you can from the Project Manager pod. Perhaps you should consider submitting a Wish Form to ask for the ability to click and drag from the Topic List pod to create links.
    As far as rearranging your topics into different folders, as long as you do it from inside RoboHelp you shouldn't be destroying any links. RoboHelp will update references for you as you move things around. The only issue is if you are automatically creating your TOC structure based on the project structure. But usually that's a one time shot. From there forward you just manage things using the TOC editor.
    Hopefully this helps... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How to prevent find and replace from finding linked files?

    I have a bunch of ASP pages that I need to update in the same manner with Find and Replace. In order to do this, I open all the files, use Find and Replace, and choose to Replace All in the Source Code of Open Documents.
    Pretty straightforward, right? Except, if I have any include file statements, such as this:
    <!--#include file=" yadda yadda"-->
    DW opens these files on its own, and updates THEM as well.
    This is a very frustrating behavior. I have been through the Preferences several times and I'm just not seeing any way to turn this off.
    I have tried Googling this problem, and have seen absolutely no mention of it.
    Does anyone know if this annoyance can be disabled?
    Thanks.

    I would try selecting the specific files in the Files tab, then using "Selected Files in Site" and see what happens.
    I think DW considers related files to be "open" (since you can edit them from within the main file they are related to) when that option is turned on and the files they're related to are open.

  • How can I change a VI that is linked to "NI_Excel.lvclass:Excel Find and Replace (str).vi

    I need to create a new VI from, "Excel Find and Replace (str).vi", for my own purposes.
    LabVIEW will not allow me to do this, because that VI belongs to, "NI_Excel.lvclass."
    Intead of find and replace - I would like it to find a string, and tell me what column and row it is at.
    Thank You
    Solved!
    Go to Solution.

    Have you searched the discussion forums for this, even the Excel board?
    You'd probably find what you want, or at least something close that you could learn from.
    Can you open up the VI that you are asking to change?  Even if you aren't permitted to copy it, if you open it and see what it does, you can recode it yourself using the appropriate ActiveX functions.

  • Folder action to find and replace text and change line feeds

    I want to use a folder action to find and replace text and change Mac carriage returns to DOS line feeds inside text files.
    The text to be replaced is: "/Users/wim/Music/iTunes/iTunes Music/Music" (without the quotes)
    This text has to be removed (i.e. replaced by an empty string)
    The text occurs many times within each file.
    The files are playlists exported from iTunes in the M3U format (which are text files). They contain Mac carriage returns. These need to be changed to DOS line feeds.
    I have found the following two perl commands to achieve this:
    To find and replace text: perl -pi -w -e 's/THIS/THAT/g;' *.txt
    To change carriage returns to line feeds: perl -i -pe 's/\015/\015\012/g' mac-file
    I know that it's possible to make a folder action with Automator that executes a shell script.
    What I want to do is drop the exported playlists in M3U format in a folder so that the folder action will remove the right text and change the carriage returns.
    My questions are:
    Is it possible to make a folder action that executes command line commands instead of shell scripts?
    What is the correct syntax for the two commands when used in a folder action shell script? Especially, how do I escape the slashes (/) in the string to be removed?
    Thanks for your help

    Ok, I've include an applescript to run a shell command. The applesript command quoted form makes a string that will end up as a single string on the bash command line.  Depending on what you want to do, you may need multiple string on the bash command lines.  I've included some information on folder actions.
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
        For running shell commands see:
        http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set desktopPath to (path to desktop) as string
        log "desktopPath = " & desktopPath
        set unixDesktopPath to POSIX path of desktopPath
        log "unixDesktopPath = " & unixDesktopPath
        set quotedUnixDesktopPath to quoted form of unixDesktopPath
        log "quoted form is " & quotedUnixDesktopPath
        try
            set fromUnix to do shell script "ls -l  " & quotedUnixDesktopPath
            display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
        on error errMsg
            log "ls -l error..." & errMsg
        end try
    end run
    How to set up a folder action.
    1) right click on folder. click on Enable folder actions
    2) Place script in
    /Library/Scripts/Folder Actions Scripts
    3) right click on folder. click on attach folder action
    pick your script.
    Create a new folder on the desktop & try.
    You can put multiple folder actions on a folder. There are other ways of doing this.
    Here is my test script:
    on adding folder items to this_folder after receiving dropped_items
        repeat with dropped_item_ref in dropped_items
           display dialog "dropped files is " & dropped_item_ref & " on folder " & this_folder
        end repeat
    end adding folder items to
    How to  make the text into an AppleScript program.
    Start the AppleScript Editor
    /Applications/AppleScript/Script Editor.app
    In Snow Leopard it's at: /Applications/Utilities/AppleScript Editor
    Copy the script text to the Applescript editor.
    Note: The ¬ is typed as option+return.  ption+return is the Applescript line continuation characters.
    You may need to retype these characters.
    Save the text to a file as an script and do not check any of the boxes below.

Maybe you are looking for

  • Need to delete PO

    Dear All, When I am trying to delete a Purchase order it is showing the error saying that V1 154 error is blocing the deletion process. Then I checked its corrospoding sales order and tried to release the credit customer using t.code: VKM3. But still

  • Export project - reimport same project query

    I had a project on my iMac which I had worked on and then relocated the master images to DVD. I needed to export the project to my MBP's Aperture to work on the images at the clients home so I consolidated the images and exported the project, no prob

  • Why does firefox 4 move at least twice as slow as chrome and IE9

    Seriously. Stopped using firefox last fall because of speed issues.(previously my favorite browser). Now I've placed all 3 browsers on the screen and loaded several different bookmarks. Chome hit the site in seconds, fully loaded. IE9 just behind(mil

  • BB in Russia and few other questions

    Hello! Having few troubles about my new device...Plz, help ) 1. I've got BB Z10, here, in Russia, mostly mobile operators doesnt have any troubles with BIS and this pic of BB in right corner is shown all the time, but my operator (Tele2 Russia) doesn

  • Confimation before continuing

    I am a newbie in Applescript so please bare with me... I wrote a small script in order to copy a folder from another computer to my MB. In order to avoid an accidental execution of the copy process, I need to add a confirmation dialogue before execut