• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

Changing Document Programatically

Hello,

I'm a newbie.

I'm creating an extension where I programatically create a new blank html page.

I've got that part down.

Now I need to have Dreamweaver make that new document the current document.

Anyone know how to do this?

Thanks.
0
Vibe_2020
Asked:
Vibe_2020
  • 2
1 Solution
 
Kiran Paul VJComputer EngineerCommented:
hi...

can u plz explain what u mean by current document.

kiranvj
0
 
Vibe_2020Author Commented:
Hello,

I found the answer.

I used dreamweaver.openDocument(<document name>);

This allowed me to make <document name> the current document within Dreamweaver.

Thanks.
0
 
Kiran Paul VJComputer EngineerCommented:
hi Vibe_2020,

glad to know u found the answer.

Since u have found the answer yourself  u can ask for a refund of the points in this section....
http://www.experts-exchange.com/Community_Support/

and give the the link to this page
http://www.experts-exchange.com/Web/WebDevSoftware/DreamWeaver/Q_21157006.html

i dont know whether u can refund points which are already given....

anyway thanx for the points :-)

bye
kiranvj
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now