The documentation is missing on this. For dreamweaver.setUpFind, searchWhat can be used - http://help.adobe.com/en_US/Dreamweaver/10.0_API_Ref/WS5b3ccc516d4fbf3 51e63e3d117f9e09bcf-7edd.html (see comment). However, no documentation exists as to how to specify the search scope in dreamweaver.setUpComplexFind() and dreamweaver.setUpComplexFindReplace().
Anybody know this parameter?
The parameter is "searchmode" within the <find> tag in the setupComplexFindReplace() function
options are (in order of pulldown CS5):
<find searchmode="selectedText">
<find searchmode="document">
<find searchmode="C:\">
<find searchmode="allOpenDocuments">
<find searchmode="C:\">
<find searchmode="selectedFiles">
<find searchmode="site">
As far as the related posts, just query user with dialogs or input boxes and parse together the
dreamweaver.setupComplexFindReplace(<dwquery><queryparams matchcase="true" ignorewhitespace="false" useregexp="false" wholeword="false" /><find searchmode="site"><qtext qname="stringToFind" qraw="true"></qtext></find><replace action="replaceText" param1="stringToReplace" param2=""/></dwquery>)
NOTE: within js code, the Find and Replace function will execute based on the previous search command if searchmode is ommitted.
North America
Europe, Middle East and Africa
Asia Pacific