Tertius wrote:
Since you have been so dedicated and consistent in testing out the script and providing feedback I will take a look at Sean's script. My first thoughts on minimizing windows to the notification area (aka system tray) are not particularly fond ones since this requires moving the mouse to the system tray to click on it (which takes significantly more time than alt tabbing to get to the window) because typically the window has been hidden and thus no longer visible to the alt tab program.
Don't feel forced to integrate it if you don't want to/don't feel it would fit your script.
That was just a suggestion and an illustration of the fact you could gather nice ideas for additions by checking scripts who seem to get popular for a reason.
I'm not even sure I'll use Sean's script... In fact, although I haven't yet begun to really use it, I think in the future I'll be using DM2 (
http://dm2.sourceforge.net/overview.html ) a lot in the future to complement the minimize window function. In case you don't know that program it allow to minimize to tray, but more importantly to minimize to floating icons (you can choose the transparency degree) which I find promising.
Regarding the multi-monitor stuff, I think I understand better know. But I really was not in a state to understand complex explanations when I wrote the message. Anyway, thanks for the more simple explanation.
Finally, I have what is not really a suggestion but the way I'll adapt one thing in your script once it reaches a 'final' state (which is probably soon). You may find the idea interesting (or not).
In my daily usage, I mainly use left and right click, and of course double left click. For that reason, on my mouse which has a third button, I set the third button to act as double left click. Not having many programs which use middle click that was the best idea.
However, recently I have started to intensively use Directory Opus which notably has buttons which can have a different function if you left click, right click or middle click. So, I know need middle click but I am too much used to used the third button as double clicking (besides I use that function more than double clicking).
Moreover, I have sometimes to work on a computer with only two buttons.
Therefore, I now use a modifier key (left windows key) so that Lwin & Lbutton::Click 2 and Lwin & RButton::Click Middle.
So I think in the end, I'll use the numpad5 key as a modifier key for / and * to get double click and middle click, instead of having numpad5 middle click.
Some people might find that interesting, other not. It all depends on the usage.
Reading my post and all that clicking stuff, I have thought about that thread
http://www.autohotkey.com/forum/viewtopic.php?t=8357 about a script (and various variations) implementing double right clicking.
As it is quite old, I figured you might not know it, although it might be of interest to you.
I never managed to think of a function not application-specific, not having a convenient keyboard shortcut and that I would use that much to have it bound to a double right click but I'm sure I will one day.
Writing these made me think I once thought about binding double right click to full screen, because of that thread
http://www.autohotkey.com/forum/viewtopic.php?t=19218 and more precisely this script
http://www.donationcoder.com/Forums/bb/ ... 6#msg61656
Although it is not as good as a native full screen function for applications which have one, it can be sometimes more useful that simply maximizing (getting a bit more of screen estate).
And while browsing through that thread, I saw that Ace_NoOne had made a script dealing with multiple monitors
http://www.autohotkey.com/forum/viewtopic.php?t=10391
Haven't checked it but you might find some useful ideas/functions/ways to improve your code there.
________
Volcano vaporizer