Changing Document Programatically

Posted on 2004-10-05
Last Modified: 2010-04-25

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?

Question by:Vibe_2020
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 16

Accepted Solution

Kiran Paul VJ earned 250 total points
ID: 12235838

can u plz explain what u mean by current document.


Author Comment

ID: 12239632

I found the answer.

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

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

LVL 16

Expert Comment

by:Kiran Paul VJ
ID: 12245409
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....

and give the the link to this page

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

anyway thanx for the points :-)


Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question