home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 January
/
01_03.iso
/
service
/
winamp3
/
files
/
skins
/
Chronabie.wal
/
scripts
/
default
/
cfgint.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2002-05-06
|
1KB
|
33 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Text Text2;
Global Edit Edit3;
Global CfgGroup CfgGroup4;
System.onScriptLoaded()
{
CfgGroup4 = System.getScriptGroup();
Text2 = CfgGroup4.getObject(( "cfg\.txt"));
Edit3 = CfgGroup4.getObject(( "cfg\.edit"));
Edit3.setAutoEnter(1);
return Null;
}
Edit3.onEnter()
{
CfgGroup4.cfgSetInt(System.StringToInteger(Edit3.getText()));
return Null;
}
CfgGroup4.onCfgChanged()
{
Text2.setText(CfgGroup4.cfgGetName());
Edit3.setText(System.integerToString(CfgGroup4.cfgGetInt()));
return Null;
}