beautypg.com

A simple fwlaunch communication example – Adobe Dreamweaver API Reference CS5 User Manual

Page 42

background image

37

DREAMWEAVER API REFERENCE

Fireworks integration

Last updated 8/27/2013

Example
The following code checks whether Fireworks is installed:

if (FWLaunch.validateFireworks(6.0)){

alert("Fireworks 6.0 or later is installed.");

}else{

alert("Fireworks 6.0 is not installed.");

}

A simple FWLaunch communication example

The following command asks Fireworks to prompt the user for their name and returns the name to Dreamweaver:


Prompt in Fireworks