home *** CD-ROM | disk | FTP | other *** search
Winamp Compiled Maki Script | 2002-06-25 | 1.3 KB | 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()
- {
- GuiObject GuiObject8;
- Group Group4;
- 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;
- }
-
-
-