home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 July / CMCD0703.ISO / UTIL / WINAMP / winamp3_0-full.exe / Wacs / xml / guiobjects / historyeditbox / historyeditbox.maki (.txt) < prev    next >
Winamp Compiled Maki Script  |  2002-07-29  |  2KB  |  49 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. Global Edit Edit4;
  8. Global GuiObject GuiObject5;
  9.  
  10.  
  11. System.onScriptLoaded()
  12. {
  13. Group Group6;
  14. Group6 = System.getScriptGroup();
  15. if(( Group6 == Null)) {
  16. return Null;
  17. }
  18. Button2 = Group6.findObject(( "historyeditbox\.back\.button"));
  19. Button3 = Group6.findObject(( "historyeditbox\.forward\.button"));
  20. Edit4 = Group6.findObject(( "historyeditbox\.edit"));
  21. GuiObject5 = Group6.getParent();
  22. if(( System.StringToInteger(GuiObject5.getXmlParam(( "navbuttons"))) == 0)) {
  23. if(( Button2 != Null)) {
  24. Button2.hide();
  25. }
  26. if(( Button3 != Null)) {
  27. Button3.hide();
  28. }
  29. if(( Edit4 != Null)) {
  30. Edit4.setXmlParam(( "w"), ( "\-23"));
  31. }
  32. }
  33. return Null;
  34. }
  35.  
  36. Button2.onLeftClick()
  37. {
  38. GuiObject5.sendAction(( "back"), ( ""), 0, 0, 0, 0);
  39. return Null;
  40. }
  41.  
  42. Button3.onLeftClick()
  43. {
  44. GuiObject5.sendAction(( "forward"), ( ""), 0, 0, 0, 0);
  45. return Null;
  46. }
  47.  
  48.  
  49.