home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 January
/
PCWorld_2005-01_cd.bin
/
software
/
topware
/
winamp
/
winamp507_full.exe
/
Plugins
/
historyeditbox.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2003-08-25
|
2KB
|
55 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Button Button2;
Global Button Button3;
Global Edit Edit4;
Global GuiObject GuiObject5;
System.onScriptLoaded()
{
Group Group6;
Group6 = System.getScriptGroup();
if(( Group6 == Null)) {
return Null;
}
Button2 = Group6.findObject(( "historyeditbox\.back\.button"));
Button3 = Group6.findObject(( "historyeditbox\.forward\.button"));
Edit4 = Group6.findObject(( "historyeditbox\.edit"));
GuiObject5 = Group6.getParent();
if(( GuiObject5 != Null)) {
if(( System.StringToInteger(GuiObject5.getXmlParam(( "navbuttons"))) == 0)) {
if(( Button2 != Null)) {
Button2.hide();
}
if(( Button3 != Null)) {
Button3.hide();
}
if(( Edit4 != Null)) {
Edit4.setXmlParam(( "w"), ( "\-17"));
}
}
}
return Null;
}
Button2.onLeftClick()
{
if(( GuiObject5 != Null)) {
GuiObject5.sendAction(( "back"), ( ""), 0, 0, 0, 0);
}
return Null;
}
Button3.onLeftClick()
{
if(( GuiObject5 != Null)) {
GuiObject5.sendAction(( "forward"), ( ""), 0, 0, 0, 0);
}
return Null;
}