setUpFindReplace for 'selected files in site'

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default setUpFindReplace for 'selected files in site'

    I've written a setUpFindReplace routine but it only works on the current open
    document.

    The Find requester has 'Find In:' option of 'Selected Files in Site'. Where
    can I find/use this option programmatically?

    seanys Guest

  2. Similar Questions and Discussions

    1. Selected remote files
      Hello, We are trying to select remote files in the File Panel. As a test, we manually select 3 files in the Panel, and then have an extension set...
    2. copying files into site
      Originally posted by: gjhdigital How can I create an extension that when added automatically adds a required file/folder to the current dreamweaver...
    3. site source files
      Is there anywhere that I can get a full working flash site .fla to look at so I can see how to put a more rich site together, I only want to learn...
    4. Files print in black and white when color is selected
      Elements 2 suddenly stopped printing in color. All files print in black and white only. I've selected every preference I can think of to enable...
    5. Fireworks Javascript: Problems with "fw.setUpFindReplace()"
      Hi everyone! I'm trying to loop through an array of item/value pairs and change the element name (item) of each textelement that contains a given...
  3. #2

    Default Re: setUpFindReplace for 'selected files in site'

    And while we're here...

    Is there a way to suppress the 'There is no way to undo changes in files that are not open" requester?
    seanys Guest

  4. #3

    Default Re: setUpFindReplace for 'selected files in site'

    There are two additional undocumented options you can add to the searchObject:
    matchWholeWord (bool) corresponds to the checkbox in the find dialog
    searchWhat (string) accepts values "document", "allOpenDocuments", "site",
    "selectedFiles", "directory", and "selectedText" which corresponds to the
    combobox in the dialog.

    In your case you should just need to go:
    searchParams. searchWhat = "selectedFiles";

    I didn't see a way to suppress the undo warning.

    Hope this helps,
    Chris
    Adobe Dreamweaver Engineering

    ChrisBank Guest

  5. #4

    Default Re: setUpFindReplace for 'selected files in site'

    Thanks Chris. Love your work.
    seanys Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139