home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Util / Winamp / Skins / Anime_Shogo.wal / scripts / customdropdownlist.maki (.txt) < prev    next >
Winamp Compiled Maki Script  |  2002-09-29  |  2KB  |  46 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global GuiObject GuiObject2;
  6. Global Text Text3;
  7. Global String String5;
  8. Global String String6;
  9. Global String String8;
  10.  
  11.  
  12. System.onScriptLoaded()
  13. {
  14. GuiObject2 = System.getScriptGroup().getObject(( "dropdownlist"));
  15. Text3 = GuiObject2.findObject(( "dropdownlist\.text"));
  16. return Null;
  17. }
  18.  
  19. System.onSetXuiParam(String param, String value)
  20. {
  21. if(( System.strlower(param) == ( "items"))) {
  22. GuiObject2.setXmlParam(( "items"), value);
  23. }
  24. if(( System.strlower(param) == ( "defaultlistitem"))) {
  25. String8 = value;
  26. }
  27. if(( System.strlower(param) == ( "privateintsection"))) {
  28. String6 = value;
  29. }
  30. if(( System.strlower(param) == ( "privateintitem"))) {
  31. String5 = value;
  32. }
  33. if(( ( ( String5 != ( "")) && ( String6 != ( ""))) && ( String8 != ( "Fofo")))) {
  34. GuiObject2.setXmlParam(( "default"), System.getPrivateString(String6, String5, String8));
  35. }
  36. return Null;
  37. }
  38.  
  39. Text3.onTextChanged(String newtxt)
  40. {
  41. System.setPrivateString(String6, String5, newtxt);
  42. return Null;
  43. }
  44.  
  45.  
  46.