Jump to content

Recommended Posts

Posted

Hello,

I tried to make some Injections (Thread) to my WPI 5.6.

My problem is that only the "Open ... now" Injections work (ie. Open Commandprompt now).

ALL other Injections (I use Checkbox and Radiobuttons) DO NOT work!!

Where is my fault??

Here is an example which does not work:

prog[pn]=['Notepad++ 4.02']
uid[pn]=['NOTEPADPP']
desc[pn]=['']
textl[pn]=['Left']
texti[pn]=['0']
ordr[pn]=[1810]
cond[pn]=['FileExists("%CDROM%\\WPI\\Install\\NPP\\npp.exe")']
prog[pn][0]+='</label><BR /> ';
prog[pn][0]+='<input type="checkbox" id="dope4" checked value="1" onClick="';
prog[pn][0]+=' var pn = findProgByUID(\'NOTEPADPP\');';
prog[pn][0]+=' cmd2[pn]=(!document.getElementById(\'dope4\').checked)? [\'\'] : ';
prog[pn][0]+=' [\'%CDROM%\\\\WPI\\\\Install\\\\NPP\\\\Replace.cmd\'];">';
prog[pn][0]+='<label for="dope4"';
prog[pn][0]+='><input type="text" readonly class="injectedLabel" value="Als Standard">';
prog[pn][0]+='</label><label>';
cmd1[pn]=['%CDROM%\\WPI\\Install\\NPP\\npp.exe']
cmd2[pn]=['%CDROM%\\WPI\\Install\\NPP\\Replace.cmd']
dflt[pn]=['yes']
configs[pn]=['Designer,Coder,Admin']
cat[pn]=['Office']
pn++

PS: I had to comment out the line

patchTheme(/class="txt"/ig, 'class="opText"');

because I always got an error Message when I don't comment it out.

I hope someone has tried to use Injections too and knows what I am doing wrong...

Pleeease... :}


Posted

Those were the brain-child of Dje. They are not supported by Kels or myself......yet. He has some great ideas, I'm just not ready to incorporate them. Either contact him, or just keep playing with them on your own.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...