Criando Plugins Dreamweaver CS6
Autor: WebEder | Publicado: 2014-06-06T09:10:00-07:00









1º Arquivos necessários: 


Extensão Adobe Extension Information File (.mxi). 


O Adobe Extension Manager instalado em sua maquina para poder gerar o arquivo. 


Os&nbsp;GIFs dos ícones que você quer colocar. 


Um HTML para cada&nbsp;ligação do seu ícone. 
















2º Eder Abra o bloco de notas e copie o código abaixo e salve como extensão   “.mxi” sem aspas.




&lt;macromedia-extension id="146" 

&nbsp;&nbsp;&nbsp; name="Webeder HELP" 

&nbsp;&nbsp;&nbsp; version="1.2.4" type="object"&gt; 

&lt;!-- List the required/compatible products --&gt; 

 &lt;products&gt; 

 &lt;product name="Dreamweaver" 

&nbsp;&nbsp;&nbsp; version="1.2.4" primary="true" /&gt; 

 &lt;/products&gt;

&lt;!-- Describe the author --&gt; 

 &lt;author name="Eder Quadros" /&gt; 

&lt;!-- Describe the extension --&gt; 

&lt;description&gt; 

 &lt;![CDATA[Extensão WEBEDER HELP. Modelo de códigos&nbsp; para quem está começando no mundo web ]]&gt; 

&lt;/description&gt; 

&nbsp;

&lt;ui-access&gt; 

 &lt;![CDATA[Extensão WEBEDER Ajuda aos Programadores e Designers escreverem menos e fazer muito mais.&nbsp; ]]&gt; 

&lt;/ui-access&gt;

&lt;files&gt; 

 &lt;file name="Webeder HELP.html" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="Webeder HELP.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt;&nbsp; 

&lt;files&gt; 

 &lt;file name="header.html" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="header.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt;&nbsp; 

 &lt;files&gt; 

 &lt;file name="print.html" 

&nbsp;&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="print.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt;&nbsp; 

&nbsp; &lt;files&gt; 

 &lt;file name="switch.html" 

&nbsp;&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="switch.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt; 

&nbsp;&nbsp; &lt;files&gt; 

 &lt;file name="get.html" 

&nbsp;&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="get.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt;&nbsp; 

&nbsp;&nbsp;&nbsp; &lt;files&gt; 

 &lt;file name="foreach.html" 

&nbsp;&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="foreach.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt;&nbsp; 

&nbsp;&nbsp;&nbsp;&nbsp; &lt;files&gt; 

 &lt;file name="for.html" 

&nbsp;&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="for.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt; 

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;files&gt; 

 &lt;file name="e-mail.html" 

&nbsp;&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="e-mail.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt; 

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;files&gt; 

 &lt;file name="Iframe.html" 

&nbsp;&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;file name="Iframe.gif" 

&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt; 

 &lt;/files&gt;&nbsp; 

&lt;!-- Describe the changes to the configuration --&gt; 

&lt;/macromedia-extension&gt;


&nbsp;

&nbsp;





&nbsp;


3º&nbsp;Crie em seu editor de&nbsp;um HTML&nbsp;e digite o seu código por exemplo:

&nbsp;

&lt;iframe src="https://www.seudomínio.com.br/SEU LINK AQUI" name="NOME" width="LARGURA" height="ALTURA" scrolling="auto" frameborder="no"&gt; 

Temos um iframe então salvamos como iframe.html 
Dentro do nosso .mxi

Nas linhas files.

&lt;files&gt;  &lt;file name="Iframe.html" &nbsp;&nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt;  &lt;file name="Iframe.gif" &nbsp;&nbsp;&nbsp; destination="$dreamweaver/configuration/objects/common/webeder" /&gt;  &lt;/files&gt;












Colocamos: 


Nome o html exemplo - "Iframe.html"


Destination: o destino deixe como está alterando somente o nome da pasta e arquivo depois de common&nbsp;exemplo: "webeder"
E no próximo name&nbsp;será a&nbsp;imagem gif&nbsp; exemplo: "Iframe.gif"



4º Então abrimos o Extension monager CS6 e abrimos o arquivo .mxi

Depois de criado o pacote é&nbsp;só&nbsp;instalar indo em&nbsp;"instalar extensão".
&nbsp;

Nota: Outra coisa muito útil é pegar extensões antigas e converter para que funcione no dreamweaver mais novo #ficaadica.&nbsp; 
&nbsp;

Para saber mais: http://books.google.com.br/books?id=IDxKd-uCRt0C&amp;printsec=frontcover&amp;hl=pt-BR#v=onepage&amp;q&amp;f=false