Blank addin template


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <gml id="<ADDIN-ID>">
  2. <info>
  3. <title><ADDIN-TITLE></title>
  4. <versions>
  5. <version match="2.0" module="version2" />
  6. </versions>
  7. </info>
  8. <module id="version2">
  9. <objects>
  10. <object id="all" type="vbscript">
  11. <![CDATA[
  12. Sub DumpData()
  13. App.Shell.MsgBox "DATA"
  14. End Sub
  15. Sub EventHandler(Ev)
  16. If Ev.Key = "taskmenu-item" And Ev.Data = "dumpdata" Then
  17. DumpData
  18. End If
  19. End Sub
  20. ]]>
  21. </object>
  22. </objects>
  23. <taskmenu>
  24. <menu task="graphite://donor/donor-view">
  25. <item id="dumpdata" section="OTHER TASKS" text="Dump Data" before="" />
  26. </menu>
  27. </taskmenu>
  28. <handlers>
  29. <handler id="taskmenu-item" object="all" />
  30. </handlers>
  31. </module>
  32. </gml>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.