Solved

Changing Document Programatically

Posted on 2004-10-05
3
183 Views
Last Modified: 2010-04-25
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
Comment
Question by:Vibe_2020
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
kiranvj earned 250 total points
ID: 12235838
hi...

can u plz explain what u mean by current document.

kiranvj
0
 
LVL 1

Author Comment

by:Vibe_2020
ID: 12239632
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
 
LVL 16

Expert Comment

by:kiranvj
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....
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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now