home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 September
/
PCWorld_2002-09_cd.bin
/
Software
/
Topware
/
winamp
/
wa3install-mad.exe
/
Wacs
/
xml
/
library
/
library.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2002-06-25
|
1KB
|
51 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Button Button2;
Global Button Button3;
System.onScriptLoaded()
{
Group Group4;
GuiObject GuiObject8;
Group4 = System.getScriptGroup();
Button2 = Group4.getObject(( "library\.search\.label"));
Button3 = Group4.getObject(( "library\.query\.label"));
Button3.hide();
GuiObject8 = Group4.getObject(( "library\.query\.line"));
GuiObject8.setXmlParam(( "auto"), System.getPrivateString(( "library"), ( "auto"), ( "1")));
return Null;
}
System.onScriptUnloading()
{
if(Button2.isVisible()) {
System.setPrivateString(( "library"), ( "auto"), ( "1"));
} else {
System.setPrivateString(( "library"), ( "auto"), ( "0"));
}
return Null;
}
Button2.onLeftClick()
{
Group Group13;
Group13 = System.getScriptGroup();
Button2.hide();
Button3.show();
return Null;
}
Button3.onLeftClick()
{
Group Group14;
Group14 = System.getScriptGroup();
Button3.hide();
Button2.show();
return Null;
}