General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
How to add a button to open an exe file?
Posted by: Mello
Date: July 08, 2018 12:51AM

Is this possible?

I'd like to open Cookie Monster from a toolbar button

C:\Program Files\Cookie Monster\CookieMonster.exe

Options: ReplyQuote
Re: How to add a button to open an exe file?
Posted by: hermes
Date: July 08, 2018 02:02AM
Options: ReplyQuote
Re: How to add a button to open an exe file?
Posted by: Mello
Date: July 08, 2018 04:23PM

Thank you.

Not basic info to me I'm afraid, I haven't a clue what to do with
it.

Options: ReplyQuote
Re: How to add a button to open an exe file?
Posted by: Mello
Date: July 08, 2018 06:17PM

I winged it. grinning smiley

I took a gamble and modified a copy of an existing macro that opens a k-m web page in theworldbrowser.

Used search and replace to insert CookieMonster for TheWorld etc
renamed it to CM.kmm and modified accel.cfg similarly to open it with CTRL P.
(I don't use a printer with this notebook)

To my surprise it works. I particularly enjoyed being prompted to browse to the CookieMonster exe.


Now I don't need a button



Edited 1 time(s). Last edit at 07/08/2018 06:22PM by Mello.

Options: ReplyQuote
Re: How to add a button to open an exe file? / Example user-macro + button
Posted by: siria
Date: July 08, 2018 09:15PM

Congratulations grinning smiley

But if you copied a full "Open with IE" type macro (ie.kmm), it's probably far too complicated, with registry checks and several menu entries, for clicks on links and in toolbars etc. Unless you deleted the unnecessary parts.

Have attached below an example for a simple user macro with new command+button+shortcut, no frills - hope it's understandable enough for users without macrolanguage skills?

Attachments: example_macro_button.kmm (1.7 KB)  
Options: ReplyQuote
Re: How to add a button to open an exe file? / Example user-macro + button
Posted by: Mello
Date: July 08, 2018 10:44PM

Thanks.

Your's does look simpler siria, but I'm tired - not used to this constant warm weather in England - will try tomorrow.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.