General :  K-Meleon Forum
General discussion about K-Meleon 
Mouse Gesture to Minimize KM?
Envoyé par: JasonTheron
Date: 11 avril 2008, 05:09

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

Cheers!

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 11 avril 2008, 05:57

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
The worst day of my life.
I feel like a GIF archive.



Modifié 1 fois. Dernière modification le 11/04/2008 21:27 par desga2.

Options: RépondreCiter
KWC = K-Meleon Window Controller
Envoyé par: desga2
Date: 12 avril 2008, 06:23

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
The worst day of my life.
I feel like a GIF archive.



Modifié 1 fois. Dernière modification le 12/04/2008 06:24 par desga2.

Options: RépondreCiter
Re: KWC = K-Meleon Window Controller
Envoyé par: Lockheed
Date: 12 juin 2008, 02:42

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: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 12 juin 2008, 05:16

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
The worst day of my life.
I feel like a GIF archive.



Modifié 5 fois. Dernière modification le 12/06/2008 08:42 par desga2.

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 12 juin 2008, 07:16

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
The worst day of my life.
I feel like a GIF archive.



Modifié 1 fois. Dernière modification le 12/06/2008 07:19 par desga2.

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 12 juin 2008, 08:55

Citation
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
The worst day of my life.
I feel like a GIF archive.



Modifié 2 fois. Dernière modification le 12/06/2008 09:04 par desga2.

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: Lockheed
Date: 12 juin 2008, 14:08

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: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 13 juin 2008, 01:20

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

K-Meleon in Spanish
The worst day of my life.
I feel like a GIF archive.

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: gennargentu
Date: 25 juillet 2008, 02:42

Citation
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: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 25 juillet 2008, 03:08

@ 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
The worst day of my life.
I feel like a GIF archive.



Modifié 3 fois. Dernière modification le 25/07/2008 03:39 par desga2.

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: gennargentu
Date: 25 juillet 2008, 03:44

Citation
desga2
@ gennargentu:
Something similar to this:

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

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 25 juillet 2008, 03:55

Citation
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
The worst day of my life.
I feel like a GIF archive.

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: ra
Date: 27 juillet 2008, 20:58

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

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 27 juillet 2008, 21:20

@ ra:
Can you explain RFE?

I don't understand that you like says us.

Thanks.

K-Meleon in Spanish
The worst day of my life.
I feel like a GIF archive.

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: ra
Date: 28 juillet 2008, 03:47

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: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: desga2
Date: 28 juillet 2008, 05:14

@ 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
The worst day of my life.
I feel like a GIF archive.

Options: RépondreCiter
Re: Mouse Gesture to Minimize KM?
Envoyé par: JohnHell
Date: 28 juillet 2008, 09:15

Citation
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: RépondreCiter


This forum powered by Phorum.