Improvement requests :  K-Meleon Forum
Use this forum to talk about a feature you're missing.  
Pages: Previous123
Current Page: 3 of 3
Re: PrivacyBar toggling Proxy on/off
Posted by: levyathan
Date: August 23, 2013 10:00PM

THX, the effect I need is the same that Dead Tabs use. Is there a Tab Bar macros example that I could use for this? Or maybe in the macros for the other buttons from the privacy bar? Where can I find this examples?

I noticed the first macros posted here contained this lines:

$_ProxTog_ButtonName = "PT" ;
$_ProxTog_Command = "macros(_ProxTog_Button)" ;
$_ProxTog_MenuName = "" ;
$_ProxTog_tipText = "Toggle proxy";
$_ProxTog_ImageHot = "ProxyTog.bmp[1]" ;
$_ProxTog_ImageCold = "ProxyTog.bmp[0]" ;
$_ProxTog_ImageDead = "ProxyTog.bmp[2]" ;
$_ProxTog_AddButtonTag = $_ProxTog_ToolbarName.",".$_ProxTog_ButtonName.",".$_ProxTog_Command.",".$_ProxTog_MenuName.",".$_ProxTog_tipText.",".$_ProxTog_BWidth.",".$_ProxTog_BHeight.",".$_ProxTog_ImageHot.",".$_ProxTog_ImageCold.",".$_ProxTog_ImageDead.",".$_ProxTog_LastItem ;
#alert($_ProxTog_AddButtonTag, "button tag DEBUG", INFO);
pluginmsg(toolbars, "AddButton", $_ProxTog_AddButtonTag);
macros(_ProxTog_Status);
}


Could that be the problem?

Options: ReplyQuote
Re: PrivacyBar toggling Proxy on/off
Posted by: adodupan
Date: August 24, 2013 02:24AM

levyathan, you need this:

pluginmsg(toolbars, "CheckButton", "<ToolbarName>, <ButtonID>, [0|1]");

Options: ReplyQuote
Re: PrivacyBar toggling Proxy on/off
Posted by: levyathan
Date: August 25, 2013 06:47AM

Thank You, adodupan, I'm trying to figure out where to place this line, if you have further advice, I would appreciate it; in the mean time, I'll just play a little with the macros.

Options: ReplyQuote
Re: PrivacyBar toggling Proxy on/off
Posted by: adodupan
Date: August 25, 2013 03:56PM

levyathan, look here and try the attached examples.

Best regards

Options: ReplyQuote
Re: PrivacyBar toggling Proxy on/off
Posted by: levyathan
Date: August 26, 2013 10:47PM

Thanks again, adodupan, I'll try to study the examples and post the results or my resignation grinning smiley

Options: ReplyQuote
Pages: Previous123
Current Page: 3 of 3


K-Meleon forum is powered by Phorum.