Custom ScriptDev Tool

Discuss about ScriptDev.

Custom ScriptDev Tool

Postby scriptdev » Sat Aug 07, 2010 12:50 pm

ScriptDev tool is in subdirectories of tools directory, each folder is a tool, there is a configuration file tool.xml.
Tools such as configuration file samples:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?blueui version="2.0"?>
<tool
   id="org.tool.ftpclient"    -- tool ID
   name="Ftp Client Tool"   -- tool name
   version="1.0.0"             -- tool version
   provider-name="scriptdevelop.com"
   image="images/logo.gif">
   <description>
      FtpClient is a tool of ftp operate.
   </description>
   <copyright>
      Copyright scriptdevelip.com, 2000-2010.  All rights reserved.
   </copyright>
   <license>
      SCRIPTDEV LICENSE
   </license>
   <url>
      <about label="about page" url="html/about.htm"/>
      <update label="FtpClient update site" url="http://www.scriptdevelop.com/scriptdev/tools/ftpclient"/>
   </url>
   <property>
      <category></category>  -- (not support now)
   <showmenu>true</showmenu>  -- wether display in tools menu
   <showtask>true</showtask>   -- wether display in taskbar(task bar is not support now)
   <showtoolbar>false</showtoolbar>  -- wether display icon in toolbar
   <showstatusbar>true</showstatusbar>  -- wether display icon in statusbar
   </property>
   <statusbar>  -- status bar information
      <pane id="500" width="16" text="" tooltip="Ftp client tool" icon="ftp.ico" />
   </statusbar>
   <runtime>  -- run infomation
      <type>html</type>
   <vci>org.interp.tcl</vci>  -- plugin id of execute tool
   <instancename>FtpCli</instancename>  -- plugin object instance name
   <file>ftpcli.tcl</file>  -- script file name
   </runtime>
   <requires>
      <import plugin="org.blueui.core.runtime"/>
   </requires>
</tool>

There are several types of tools:
1, interp: script type, direct execute script.
2, html: HTML page type, such as: the FTP client page script.
3, owm: owm type, open a file with the owm plugin, for example, terminal tool is a tool to open a terminal owm window.
scriptdev
Site Admin
 
Posts: 5
Joined: Fri Aug 06, 2010 2:37 pm

Return to ScriptDev

Who is online

Users browsing this forum: No registered users and 1 guest

cron