Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Jammer #1
Open a file and edit it automatically through anextension
Hey everyone!
I have a questions on what functions to use to do the following. I have a XML
file that is copied to the users configuration folder, I want to take the XML
file and edit the second to last line of code and then save it and close it.
Which functions should I use?
Any help would be great! Thank you!
Jammer Guest
-
open PDF automatically after downloading--possible?
Is it possible to have pdfs open automatically upon download? Seems to me this used to happen but not any more. I hate having to hunt for the pdf i... -
Automatically insert last person/time to edit page
We're encouraging our users to (at present manually) update the footer of the page with their email address and the date they last updated a page. ... -
Open file, make changes, save file, close, re-open, file contents not changed
I've now run into this several times and it's completely destroyed all of my confidence in Ilustrator CS on Mac. I'm hoping someone can confirm that... -
Excel open automatically without giving a dialog box option to Open/Save/Cancel using filesys.create
Excel open automatically without giving a dialog box option to Open/Save/Cancel using filesys.createTextFile. How to pop up the dialog box option... -
XP home Automatically tries to open zip files rather than download them!
XP home's Windows Explorer suddenly automatically tries to open zip files rather than download them! Normally, this would not be a problem. I... -
-
Jammer #3
Re: Open a file and edit it automatically through anextension
Oh, and one more thing...
I would like to do that all without the user seeing the document getting
opened. Kind of like when you find and replace throughout a site and it asks if
you can do it becuase you will not be able to undo it.
Is that possible?
Jammer Guest
-
Phil #4
Re: Open a file and edit it automatically through an extension
A few suggestions :> I have a questions on what functions to use to do the following. I have a XML
> file that is copied to the users configuration folder, I want to take the XML
> file and edit the second to last line of code and then save it and close it.
> Which functions should I use?
dw.getConfigurationPath
DWfile.exists()
DWfile.read()
DWfile.write()
dw.saveDocument()
To find what you need in the file, I don't know
dw.getDocumentDOM()
dom.getElementsByTagName() or something else ?
All this can be done without opening the document.
Phil Guest
-
Jammer #5
Re: Open a file and edit it automatically through anextension
Ahhhhhhh... those were the ones I was looking for. Awesome! Thanks!
I really appreciate it!
Jammer Guest



Reply With Quote

