General :  K-Meleon Forum
General discussion about K-Meleon. 
Mouse Gesture to Minimize KM?
Posted by: JasonTheron
Date: April 11, 2008 05:09AM

Hi!
Total noob here!
Anybody know if this is possible.
I'd really appreciate it.

Cheers!

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: April 11, 2008 05:57AM

Sorry, it isn't possible with current versions 1.1.X and 1.5beta.

* EDITED *

If you like a boss key read this thread about it.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 04/11/2008 09:27PM by desga2.

Options: ReplyQuote
KWC = K-Meleon Window Controller
Posted by: desga2
Date: April 12, 2008 06:23AM

I make this small tool with AutoIt 3.2.2 that could help you;
KWC = K-Meleon Window Controller v.0.1

You can use "kwc.exe" without parameters to display this help.
Command line syntax:
kwc.exe ["Windowtitle"] a Activate (gives focus to) "Windowtitle" window
kwc.exe ["Windowtitle"] t Toggle "Windowtitle" window minimize/maximize
kwc.exe ["Windowtitle"] r Restore "Windowtitle" window minimize/maximize
kwc.exe ["Windowtitle"] h Hide "Windowtitle" window
kwc.exe ["Windowtitle"] s Show "Windowtitle" window
kwc.exe ["Windowtitle"] d Disable "Windowtitle" window
kwc.exe ["Windowtitle"] e Enable "Windowtitle" window
kwc.exe ["Windowtitle"] <- | min> Minimize "Windowtitle" window
kwc.exe ["Windowtitle"] <+ | max> Maximize "Windowtitle" window
kwc.exe ["Windowtitle"] top (0,1) Set on top "Windowtitle" window.(0=Remove on top, 1=Set on top)

kwc.exe ["Windowtitle"] trans (0-255) Sets the transparency of "Windowtitle" window
Transparency is only for Windows 2000/XP and in the valid interval is 0 = Invisible, 255 = Solid.

kwc.exe ["Windowtitle"] f flashes delay Flashes "Windowtitle" window in the taskbar
flasehs => The amount of times to flash the window (integer > 0)
delay => The time in milliseconds to sleep between each flash (integer > 0)

"Windowtitle" => It is an optional parameter, it is K-Meleon by default.
If this contains spaces must be surrounded by "double quotes".

You can show this help in a panel to copy with parameters; help and ?.

Made by desga2


Download KWC.zip

K-Meleon in Spanish



Edited 1 time(s). Last edit at 04/12/2008 06:24AM by desga2.

Options: ReplyQuote
Re: KWC = K-Meleon Window Controller
Posted by: Lockheed
Date: June 12, 2008 02:42AM

I put the file inside K-Meleon folder and I am trying to run "kmd.exe -" to run the browser minimized but nothing happens. K-meleon is not starting.

As you mentioned in another thread, when could you release a version with support for closing k-meleon after X seconds?
I just thought about anouther useful feature - start (or minimize) to system tray. Is it possible?

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: June 12, 2008 05:16AM

KWC must be used in a K-Meleon macro. Look kwc.kmm file included as example. (If you wait some time i can post an example macro code)

Yes, i can update KWC to support wait to close option. (But you must wait some more time)

If you like that K-Meleon minimized to system try there are others software to do it. (Search in Google "minimize to tray", you can found for example; TrayIt or 4t Tray Minimizer Free)

In SourceForge you can found; RBTray or Minimize in tray

Also you can use to do this Loader.exe included in K-Meleon intallation folder.

K-Meleon in Spanish



Edited 5 time(s). Last edit at 06/12/2008 08:42AM by desga2.

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: June 12, 2008 07:16AM

Macro to minimize K-Meleon window at start with KWC tool:
1) Copy 'kwc.exe' in "K-Meleon\Tools\kwc.exe"
2) In K-Meleon go to Edit -> Configuration -> User-Defined Macros, and create a new text file named 'Startmin.kmm'.
3) Copy this code in new file created, save changes and restart K-Meleon.

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Start Minimized -----------------------------------------------
#
# Dependencies	: -
# Resources	: kwc.exe 
# Preferences	: -
#
# --------------------------------------------------------------------------

# NOTE: Assuming locate kwc.exe in Tools subfolder in K-Meleon installation folder.

# PRIVATE -----

_Startmin{
# kwc help: kwc.exe ["Windowtitle"] <- | min>
exec("Tools\\kwc.exe -");
# or this: exec("Tools\\kwc.exe min");
}

# --------------------------------------------------------------------------

$OnStartup=$OnStartup."_Startmin;";

# --------------------------------------------------------------------------
$macroModules=$macroModules."Startmin;";

K-Meleon in Spanish



Edited 1 time(s). Last edit at 06/12/2008 07:19AM by desga2.

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: June 12, 2008 08:55AM

Quote
Lockheed
As you mentioned in another thread, when could you release a version with support for closing k-meleon after X seconds?

I remmember now that i created a tool (named Bugger) to test K-Meleon, this tool can setting to close K-Meleon in a defined time. Try it, cuold help you.

Download Bugger test tool.

Old thread posted with more Bugger info.

K-Meleon in Spanish



Edited 2 time(s). Last edit at 06/12/2008 09:04AM by desga2.

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: Lockheed
Date: June 12, 2008 02:08PM

I did the macro and it works. However, it affects all sessions of K-meleon and what I had in mind is just the ones I start with partucular parameter.

I suppose Bugger would be affecting every session of K-meleon as well.

About the try programs - yes, I know there are some but what they do is add 4th button minimizing to try to every program and even if they have an option to set default minimize to try it will affect everything, while it should be just K-meleon.
What I was thinkng of is an option like in which has an option to start minimized to systray.

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: June 13, 2008 01:20AM

The most similar to you says is use Loader.exe file included in K-Meleon installation folder.

K-Meleon in Spanish

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: gennargentu
Date: July 25, 2008 02:42AM

Quote
desga2
$OnStartup=$OnStartup."_Startmin;";
Hi, DO you think it will be possible instead of "onstartup" make something similiar but not onstartup but right-clicking on minimize?

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: July 25, 2008 03:08AM

@ gennargentu:
Something similar to this:
Macro to minimize K-Meleon window with right click with KWC tool:
1) Copy 'kwc.exe' in "K-Meleon\Tools\kwc.exe"
2) In K-Meleon go to Edit -> Configuration -> User-Defined Macros, and create a new text file named 'RCmin.kmm'.
3) Copy this code in new file created, save changes and restart K-Meleon.

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Right Click Minimized -----------------------------------------------
#
# Dependencies	: -
# Resources	: kwc.exe 
# Preferences	: -
#
# --------------------------------------------------------------------------

# NOTE: Assuming locate kwc.exe in Tools subfolder in K-Meleon installation folder.

RCmin{
# kwc help: kwc.exe ["Windowtitle"] <- | min>
exec("Tools\\kwc.exe -");
# or this: exec("Tools\\kwc.exe min");
}

# PRIVATE -----

_RCmin_Accel{
#setaccel("CTRL RButton","macros(RCmin)");
#setaccel("ALT RButton","macros(RCmin)");
#setaccel("CTRL ALT RButton","macros(RCmin)");
#setaccel("SHIFT RButton","macros(RCmin)");
#setaccel("ALT SHIFT RButton","macros(RCmin)");
setaccel("CTRL SHIFT RButton","macros(RCmin)");
}

# --------------------------------------------------------------------------
$OnInit=$OnInit."_RCmin_Accel;";

# --------------------------------------------------------------------------
$macroModules=$macroModules."RCmin;";

In lines setaccel you can defines what accelerator you like use it to minimize, delete '#' character at begining of the accelerator line that you like use it and put one '#' at begining of line in the rest. In this example Ctrl+Shift+Right click minimize K-Meleon windows.

- Note: in 1.1.X versions only works if you press accelerator over some page object; for example an image or a link. In 1.5 version there isn't this problem and you can press accelerator in all web page to minimize.

K-Meleon in Spanish



Edited 3 time(s). Last edit at 07/25/2008 03:39AM by desga2.

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: gennargentu
Date: July 25, 2008 03:44AM

Quote
desga2
@ gennargentu:
Something similar to this:

Great desga2, now we're waiting for he option to minimize to tray.
Thank you!

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: July 25, 2008 03:55AM

Quote
gennargentu
now we're waiting for he option to minimize to tray.

This is only question of modify a little the source code of loader.exe. smiling smiley

K-Meleon in Spanish

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: ra
Date: July 27, 2008 08:58PM

Anyone willing/wanting to sumbit a RFE for native support in K-M without additional programs?

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: July 27, 2008 09:20PM

@ ra:
Can you explain RFE?

I don't understand that you like says us.

Thanks.

K-Meleon in Spanish

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: ra
Date: July 28, 2008 03:47AM

RFE = Request For Enhancement (IIRC), meaning basically submitting a bug in K-M's BugTackingSystem expressing the wish to add such a feature to the developer(s). It's always good to open a bug for feature requests (and "real" bugs, of course), so the feature can be tracked and gets noticed (forum messages are cluttered and there's much noise around).

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: desga2
Date: July 28, 2008 05:14AM

@ ra;
Thanks i understand it now. I have some problems with english abreviations, and with all english language in general grinning smiley

I can answer your before question; I don't know, I at least I haven't done so.

K-Meleon in Spanish

Options: ReplyQuote
Re: Mouse Gesture to Minimize KM?
Posted by: JohnHell
Date: July 28, 2008 09:15AM

Quote
desga2
@ ra;
Thanks i understand it now. I have some problems with english abreviations, and with all english language in general grinning smiley

O_o

If yours is bad, how is mine?

Options: ReplyQuote


K-Meleon forum is powered by Phorum.