General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Pages: Previous12
Current Page: 2 of 2
Re: Search *Field* in KM?
Posted by: lynchknot
Date: February 09, 2003 05:57PM

It sure would be nice to have something like IESpell.

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: MonkeeSage
Date: February 09, 2003 07:49PM

Here ya go lynchknot, not the best solution since you have to open Kspell.html and use the text box in that window, and have java turned on, but it is the closest thing to IESpell I have found yet. smiling smiley

http://monkeesage.d2g.com/Kspell.zip (25k)


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: lynchknot
Date: February 09, 2003 07:52PM

FM, what do I do with this?

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: MonkeeSage
Date: February 09, 2003 07:55PM

Extract it somewhere (like, e.g., C:\Program Files\K-Meleon\Kspell\), then double-click Kspell.html in that folder, now enter your own text in the extry box on that page and click the "check" button on top, and you'll get a java window very similar to IESpell. smiling smiley


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: lynchknot
Date: February 09, 2003 08:00PM

So create a shortcut menu to it?

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: lynchknot
Date: February 09, 2003 08:04PM

I know this is wrong -

Spell{
menu = Spell
$tmp = getclipboard();
id(ID_EDIT_COPY);
opennew("file:///C:/Program%20Files/K-Meleon/Kspell.html"
}

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: MonkeeSage
Date: February 09, 2003 08:11PM

Well, if you like it, you could always add a macro for it, like in menus.cfg:

TextPopup {
macros(kspell)
...
}

Then in macros.cfg

kspell {
menu="Kspell";
opennew("file://C:/Program Files/K-Meleon/Kspell/Kspell.html");
}


Also, if you want to be fancy, you could do this for the macro:

kspell {
menu="Kspell";
id(ID_EDIT_SELECT_ALL);
id(ID_EDIT_COPY);
opennew("file://C:/Program Files/K-Meleon/Kspell/Kspell.html");
}


That way when you click "Kspell" from the right click menu of a textbox, it select all the copy, copy it, then open the kspell.html window, and you can click in the text box there and paste and then click "Check" ...


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: lynchknot
Date: February 09, 2003 08:11PM

Corrected text -

Hell how r you doing I um fin

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: MonkeeSage
Date: February 09, 2003 08:12PM

I know this is wrong -

Spell{
menu = Spell
$tmp = getclipboard();
id(ID_EDIT_COPY);
opennew("file:///C:/Program%20Files/K-Meleon/Kspell.html"
}


You forgot to close the opennew command:

opennew("file:///C:/Program%20Files/K-Meleon/Kspell.html"

make that

opennew("file:///C:/Program%20Files/K-Meleon/Kspell.html");

smiling smiley

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: lynchknot
Date: February 09, 2003 08:13PM

I have this and it works but not from the clipboard automatically. You have to paste

Spell{
menu = Spell
$tmp = getclipboard();
id(ID_EDIT_COPY);
opennew("file:///C:/Program%20Files/K-Meleon/Kspell.html")
}

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: lynchknot
Date: February 09, 2003 08:17PM

How can I set up both?

Spell{
menu = Spellweb
$tmp = getclipboard();
id(ID_EDIT_COPY);
opennew("http://www.spellCHECK.NET/cgi-bin/spell.exe?action=CHECKPG&string="; . getclipboard());
setclipboard($tmp);
}



Spell{
menu = Spell
$tmp = getclipboard();
id(ID_EDIT_COPY);
opennew("file:///C:/Program%20Files/K-Meleon/Kspell.html")
}

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: MonkeeSage
Date: February 09, 2003 08:19PM

Need two different macro names:

Spell1{
menu = Spellweb
$tmp = getclipboard();
id(ID_EDIT_COPY);
opennew("http://www.spellCHECK.NET/cgi-bin/spell.exe?action=CHECKPG&string="; . getclipboard());
setclipboard($tmp);
}



Spell2{
menu = Spell
$tmp = getclipboard();
id(ID_EDIT_COPY);
opennew("file:///C:/Program%20Files/K-Meleon/Kspell.html")
}


and two different menu items to call them:

macros(Spell1)
macros(Spell2)


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: Search *Field* in KM?
Posted by: lynchknot
Date: February 09, 2003 08:28PM

Thanks, works even though I get a pop-up saying that I should not use java for netscape

Options: ReplyQuote
Pages: Previous12
Current Page: 2 of 2


K-Meleon forum is powered by Phorum.