I've made a new bitmap since I didn't like the earlier one I've made. The difference compared to the old one is barely visible but I like this one better.

However this bitmat suits optically only the Klassic skin I'm using.
Just in case anybody else is also using the PBProxTog.kmm but with another skin and has problems making a suitable bitmap, I could try to make one. For sure it won't be perfect but more appropriate at least.

Somehow I have the feeling that I'm one of the very few (maybe only?) K-M user who uses a proxy on a regular basis

Note: This extension is for K-Meleon 1.5.X versions, macro use if(<condition>){} conditional statements not implemented in 1.1.X versions. If you like this extension work in 1.1.X version you must replaced if() sentences by old conditional statements (<condition>?<true>:<false>). Ask in this forum thread if you need help about it.

Great work desga2, very professional!
Your setup file is an easy go for everybody.
Besides, depending on what button gets used it suits optically to any skin.
Now I will have the pain to choose among the eventualities offered by you and JamesD
For the moment I'm sticking with JamesD's macros which I only added basic status bar description (direct/over proxy connection) and using an adaptation of your very professional bitmap:

However my requirements are now more than fulfilled
It's a great forum with nice and helpful people, nice to be part of this community.

QuoteYogiJust in case anybody else is also using the PBProxTog.kmm but with another skin and has problems making a suitable bitmap, I could try to make one. For sure it won't be perfect but more appropriate at least.

Somehow I have the feeling that I'm one of the very few (maybe only?) K-M user who uses a proxy on a regular basis

I'd very much appreciate a bitmap for the Phoenity skin. Thanks.
And yes I too use proxo with kmeleon (and any other browsers) on a regular basis
(using sidki's latest Feb13,2009 config).

Thanks JamesD. I tried it and it seems to work. I face two problems though:
First: when proxy is on, I can see the green checkmark, but when I toggle it,
I only see the word 'Proxy' without the red x. Could it be because of the
different size (&Privacy Bar(64,13){) for the Phoenity skin?

Second: In order to pick up on changes from TOOLS - PROXY, I'm not sure where to place this line
&PBProxTog_ToolsAlert;
in two places in my proxy.kmm because it is so different from what you listed for km1.5.x.
The relevant portions for my proxy.kmm seem to be somewhere here:

Did you get the code to work in 1.1.x version? I have a 1.1.6 but I do not know how to set up a dummy proxy in that version. Much different from 1.5.2 I only changed the if statements to conditional statments. I have not gotten a test done in 1.1.6 I would suggest not to trust the button to change proxy until you check the condition with tools menu.

Did you get the code to work in 1.1.x version? I have a 1.1.6 but I do not know how to set up a dummy proxy in that version. Much different from 1.5.2 I only changed the if statements to conditional statments. I have not gotten a test done in 1.1.6 I would suggest not to trust the button to change proxy until you check the condition with tools menu.

Everything works just fine for me in km 1.1.3 (and 1.1.5). I use proxomitron
and have it set up to act as a local proxy (but only for http) on port 8080 via:
Edit -> Preferences -> Proxy -> Enable Manual Proxy Settings (127.0.0.1, port 8080).
Never tried 1.1.6. I do have 1.5.2 but have not tested your code in it (yet).

QuoteMXB
Thought it didn't work at first but it appears one must exit and reload K-M before any change takes effect. I'll try and remember that in future.

Toggling Proxy on/off doesn't need to exit and reload K-M.
Changes take effect as soon as you hit the toggling button.
At least that's how it works with 1.5.4 here.
I can't tell for 1.6 beta which I didn't tested yet (shame on me) but I assume it will also work like 1.5.4 does.

QuoteMXB
Thought it didn't work at first but it appears one must exit and reload K-M before any change takes effect. I'll try and remember that in future.

Toggling Proxy on/off doesn't need to exit and reload K-M.
Changes take effect as soon as you hit the toggling button.
At least that's how it works with 1.5.4 here.
I can't tell for 1.6 beta which I didn't tested yet (shame on me) but I assume it will also work like 1.5.4 does.

No that's not what my problem was :) I meant that the macro didn't install until I reloaded. The button works perfectly once it appeared after the reloading. 8-D

QuoteMXB
Thought it didn't work at first but it appears one must exit and reload K-M before any change takes effect. I'll try and remember that in future.

Toggling Proxy on/off doesn't need to exit and reload K-M.
Changes take effect as soon as you hit the toggling button.
At least that's how it works with 1.5.4 here.
I can't tell for 1.6 beta which I didn't tested yet (shame on me) but I assume it will also work like 1.5.4 does.

For me, toggling Proxy on/off works without restart.
--

I found a related issue:

Tested KM 1.54 and 1.6b2 with two different
https-proxy settings.
Switching user-defined proxy configurations has no
effect until restart of browser.
(Not always reproducible.)

I will try to have a look at it soon. but likely will not get it done today. I may need you to provide the icon file as I don't think that I still have it. I am old and it has been a long time since 2009.

I think I fully understand your question now. It is all about how the button is to appear for each action. The way your buttons are designed is that the only change is that you have a green check and a red X for the buttons. Those are your only choices.

I don't remember how the original buttons for privhot.bmp appeared. There is no method to "gray out" a button in the macro. The macro only can show different buttons.

It looks to me like the macro that you posted is different from the one I had in the old thread. Your version is always showing the image at position zero. It should show a second position image for the alternate state. See all the "if - them" statements in the macro.

I have no skills at making images. That is why the original image came from Yogi.