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
/
queryedit.maki
(
.txt
)
< prev
Wrap
Winamp Compiled Maki Script
|
2002-06-25
|
2KB
|
59 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group2;
Global Edit Edit3;
Global String String4;
Function func245();
System.onScriptLoaded()
{
String String10;
Group2 = System.getScriptGroup();
if(( Group2 == Null)) {
System.messageBox(( "queryedit\.maki\ can\ only\ run\ within\ a\ group"), ( "Error"), 0, ( ""));
return Null;
}
String10 = System.getToken(System.getParam(), ( "\;"), 0);
Edit3 = Group2.findObject(String10);
if(( Edit3 == Null)) {
System.messageBox(( ( ( "queryedit\.maki\ cannot\ find\ the\ edit\ field\ \(param\ 0\ \=\ ") + String10) + ( "\)")), ( "Error"), 0, ( ""));
}
return Null;
}
Edit3.onEnter()
{
func245();
return Null;
}
Edit3.onIdleEditUpdate()
{
if(( String4 == Edit3.getText())) {
return Null;
}
func245();
return Null;
}
func245()
{
String String14;
GuiObject GuiObject15;
String14 = System.getToken(System.getParam(), ( "\;"), 1);
GuiObject15 = System.getScriptGroup().findObject(String14);
String4 = Edit3.getText();
if(( GuiObject15 != Null)) {
GuiObject15.setXmlParam(( "auto"), ( "1"));
GuiObject15.setXmlParam(( "query"), String4);
} else {
System.messageBox(( ( ( "queryedit\.maki\ cannot\ find\ the\ queryline\ field\ \(param\ 1\ \=\ ") + String14) + ( "\)")), ( "Error"), 0, ( ""));
}
return Null;
}