I have an extension that copies some files and folders from dreamweaver configuration folder to user's local site folder.
To make it easy, I tried to put that up under INSERT menu on dreamweaver. When clicked, it is suppose to execute an html file with the javascript on it. The menu works really well under dreamweaver 8 (it executes the html).
However, when I tried the extension on
dreamweaver CS3 and
MX2004, it didn't do anything although it was successfully installed. It seemed that these version didn't manage to execute my html that contains the javascript. And to my surprise, there was no error message at all displayed on the screen.
Is there any chance that I mistakenly write the wrong code in my XMI file?
I enclosed my XMI file below:
Code:
<macromedia-extension id=""
name="Ext11"
version="1"
type="suite">
<!-- List the required/compatible products -->
<products>
<product name="Dreamweaver" version="4" primary="true" />
</products>
<!-- Describe the author -->
<author name="name" />
<!-- Describe the extension -->
<description>
<![CDATA[
description
]]>
</description>
<ui-access>
<![CDATA[ ]]>
</ui-access>
<files>
<file source="file_copy.html" destination="$dreamweaver/Configuration/commands/folder1/file_copy.html" />
</files>
<configuration-changes>
<menu-insert insertAfter="DWMenu_Insert_Media" skipSeparator="true">
<menu id="menu1" name="_menu1"></menu>
</menu-insert>
<menu-insert appendTo="menu1">
<menuitem id="folder1_1" file="commands/folder1/file_copy.html" command="dw.runCommand('folder1/file_copy.html');" name="Install Now!" />
</menu-insert>
</configuration-changes>
</macromedia-extension>
I really appreciate any help and comment on this.
Looking forward to your helps ...
