home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 June
/
06_02.iso
/
bonus
/
winamp3
/
wa3install_beta3.exe
/
Skins
/
Default.wal
/
Scripts
/
cfgint.maki
(
.txt
)
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Winamp Compiled Maki Script
|
2002-02-09
|
1.1 KB
|
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;
}