10-17-06, 06:33 AM
Is there a way to See my script autoloaded in the zpluggin tab?
And to be able to move the button somewhere else in my custome coonfiguration...
10-17-06, 08:26 AM
In order to autoload a zscript it has to be coded as a plugin and the plugin file (.zsc) has to be in the ZStartup\ZPlugs folder. The code for a plugin follows this form:
[ISubPalette, "Zplugin:My Plugins"] //creates a new subpalette in the ZPlugin palette
[IButton,"ZPlugin:My Plugins:Name Of Button",//note subpalette included in button name
"Popup text for button",
,,152,,,19]//button width 152 pixels, height 19
(The size of the button can be changed to whatever you wish.)
If you follow this method your button will load on start up and can be dragged onto the interface. Save the configuration (Shift+Ctrl+i) and it will stay where you put it.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.