Hi,
does it work inside javascript? I have tried it, but pFunc was allways called immediately.
does it work inside javascript? I have tried it, but pFunc was allways called immediately.
// plugin script :
displayname="FScript";
versionstring="1.0.0";
releasedatestring="Jan 1st, 2008";
author="Author";
updateurl="";
homepageurl="";
shortdescription="FScript";
longdescription="FScript";
advconfigstring="FScript";
readmestring="FScript";
iconfilename="FScript.ico";
aliasstr="aa";
regexstr="";
regexfilterstr="";
keywordstr="";
scorestr="300";
// type
UNKNOWN=0; FILE=1; FOLDER=2; ALIAS=3; URL=4; PLUGIN=5; CLIP=5;
// Postprocessing
IMMEDIATE_DISPLAY=0; ADDSCORE=1; MATCH_AGAINST_SEARCH=2;
// search state
STOPPED=0; SEARCHING=1;
function test(){
FARR.debug("test");
}
function onSearchBegin(querykey, explicit, queryraw, querynokeyword) {
if(!explicit) {
return;
}
FARR.setInterval(1, 5000, test());
FARR.killInterval(1);
}
getTime
Returns the numeric value of the specified date as the number of milliseconds since January 1, 1970, 00:00:00 UTC (negative for prior times).
Original address: https://www.donationcoder.com/forum/index.php?topic=13113.0