PDA

View Full Version : How do I assign a script to run with MultiQuickButton



doubleudee
22-11-2011, 02:07 PM
With the old version I used to do this:-


<content>
<name>MGcamd START | RESTART</name>
<sel>1</sel>
<module>Screens.Consule</module>
<screen><![CDATA[Consule, 'start MGcamd',['/usr/script/MgCamd136.sh start']]]></screen>
</content>

Now though the codw inside has changed so how do \i achieve the above with this new code which is in MultiQuickButton


<content>
<name>Plugin Browser</name>
<module>Screens.PluginBrowser</module>
<screen><![CDATA[PluginBrowser]]></screen>
</content>
<content>
<name>Extension Selection</name>
<code><![CDATA[from Screens.InfoBar import InfoBar
if InfoBar and InfoBar.instance:
InfoBar.showExtensionSelection(In foBar.instance)
]]></code>
</content>