Skip to main content
March 24, 2008
Question

Modify Contents of DW Document

  • March 24, 2008
  • 1 reply
  • 259 views
Hey I just want to know if this is possible at this point.

I want a button the user can click and it will do a global find and replace on their current opened DW document.

I try doing this and everytime it tells me I cannot modify the document.

Says I gota put it in a behavior and I looked it up and it seems that it can only modify selections well I don't want too I want to modify the whole document.
This topic has been closed for replies.

1 reply

Inspiring
March 24, 2008
You need to use the Command API rather than the Behavior API.

--


E. Michael Brandt

www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--