home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 November
/
CDVD1105.ISO
/
Util
/
Winamp
/
Skins
/
Anime_Shogo.wal
/
scripts
/
customdropdownlist.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2002-09-29
|
2KB
|
46 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global GuiObject GuiObject2;
Global Text Text3;
Global String String5;
Global String String6;
Global String String8;
System.onScriptLoaded()
{
GuiObject2 = System.getScriptGroup().getObject(( "dropdownlist"));
Text3 = GuiObject2.findObject(( "dropdownlist\.text"));
return Null;
}
System.onSetXuiParam(String param, String value)
{
if(( System.strlower(param) == ( "items"))) {
GuiObject2.setXmlParam(( "items"), value);
}
if(( System.strlower(param) == ( "defaultlistitem"))) {
String8 = value;
}
if(( System.strlower(param) == ( "privateintsection"))) {
String6 = value;
}
if(( System.strlower(param) == ( "privateintitem"))) {
String5 = value;
}
if(( ( ( String5 != ( "")) && ( String6 != ( ""))) && ( String8 != ( "Fofo")))) {
GuiObject2.setXmlParam(( "default"), System.getPrivateString(String6, String5, String8));
}
return Null;
}
Text3.onTextChanged(String newtxt)
{
System.setPrivateString(String6, String5, newtxt);
return Null;
}