Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Write to a File on _afterSave

New Here ,
Jun 19, 2007 Jun 19, 2007
After a file has been edited and saved i wanted to write to a seperate .txt file. i was trying to call a javascript function in an test_afterSave.htm file. i am trying to use var fso = CreateObject("Scripting.FileSystemObject"); to create the object but it keep failing. Does DW allow CreateObject?

thanks
TOPICS
Extensions
525
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 19, 2007 Jun 19, 2007
There is no access to that. You need to use dwfile. Check the docs at
http://livedocs.adobe.com/dreamweaver/8/apiref/02_file3.htm

Tom Muck

"kscap" <webforumsuser@macromedia.com> wrote in message
news:f59d1u$hhu$1@forums.macromedia.com...
> After a file has been edited and saved i wanted to write to a seperate
> .txt
> file. i was trying to call a javascript function in an test_afterSave.htm
> file.
> i am trying to use var fso = CreateObject("Scripting.FileSystemObject");
> to
> create the object but it keep failing. Does DW allow CreateObject?
>
> thanks
>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 19, 2007 Jun 19, 2007
LATEST
thanks. using DWFile works great. thanks again.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines