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 >
Winamp Compiled Maki Script  |  2002-06-25  |  1KB  |  51 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global Button Button2;
  6. Global Button Button3;
  7.  
  8.  
  9. System.onScriptLoaded()
  10. {
  11. Group Group4;
  12. GuiObject GuiObject8;
  13. Group4 = System.getScriptGroup();
  14. Button2 = Group4.getObject(( "library\.search\.label"));
  15. Button3 = Group4.getObject(( "library\.query\.label"));
  16. Button3.hide();
  17. GuiObject8 = Group4.getObject(( "library\.query\.line"));
  18. GuiObject8.setXmlParam(( "auto"), System.getPrivateString(( "library"), ( "auto"), ( "1")));
  19. return Null;
  20. }
  21.  
  22. System.onScriptUnloading()
  23. {
  24. if(Button2.isVisible()) {
  25. System.setPrivateString(( "library"), ( "auto"), ( "1"));
  26. } else {
  27. System.setPrivateString(( "library"), ( "auto"), ( "0"));
  28. }
  29. return Null;
  30. }
  31.  
  32. Button2.onLeftClick()
  33. {
  34. Group Group13;
  35. Group13 = System.getScriptGroup();
  36. Button2.hide();
  37. Button3.show();
  38. return Null;
  39. }
  40.  
  41. Button3.onLeftClick()
  42. {
  43. Group Group14;
  44. Group14 = System.getScriptGroup();
  45. Button3.hide();
  46. Button2.show();
  47. return Null;
  48. }
  49.  
  50.  
  51.