home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 January
/
01_03.iso
/
service
/
winamp3
/
files
/
skins
/
Chronabie.wal
/
scripts
/
default
/
cfgbool.maki
(
.txt
)
next >
Wrap
Winamp Compiled Maki Script
|
2002-05-06
|
1KB
|
40 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Text Text2;
Global ToggleButton ToggleButton3;
Global CfgGroup CfgGroup4;
Global Button Button5;
System.onScriptLoaded()
{
CfgGroup4 = System.getScriptGroup();
Text2 = CfgGroup4.getObject(( "cfg\.txt"));
ToggleButton3 = CfgGroup4.getObject(( "cfg\.toggle"));
Button5 = CfgGroup4.getObject(( "cfg\.toggle2"));
return Null;
}
ToggleButton3.onToggle(Boolean onoff)
{
CfgGroup4.cfgSetInt(onoff);
return Null;
}
CfgGroup4.onCfgChanged()
{
Text2.setText(CfgGroup4.cfgGetName());
ToggleButton3.setActivated(CfgGroup4.cfgGetInt());
return Null;
}
Button5.onLeftClick()
{
ToggleButton3.leftClick();
return Null;
}