topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 4:07 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Single click focus, double click bring to front  (Read 21602 times)

vulture_-g7

  • Participant
  • Joined in 2012
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Single click focus, double click bring to front
« on: June 04, 2012, 01:09 PM »
First of all, hello everyone! :)

I was wondering if it was possible to have a utility that changes the behaviour of windows. As it is, if you click a window it comes to the front and it is focused. I would like to have a behaviour like this: Single click simply gives focus without bringing the window to front, double click gives focus to the window and also brings it to front. Any chance that could be created? Thx!

bendecker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #1 on: October 01, 2012, 04:36 PM »
I would also VERY much like to have a utility like this!

The ability to click once for focus, twice to bring the focused window to the front was a favorite feature of mine on the Commodore Amiga. It's wonderful! Now, here it is, over 20 years later and that great feature has not yet made it to the Windows world. I would gladly make a donation to anyone who has the know-how to code this gem.

Thank you!

   -Ben

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #2 on: October 01, 2012, 05:12 PM »
For what purpose do you want the Window to get focus? Mouse-wheel scrolling ?

bendecker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #3 on: October 01, 2012, 11:19 PM »
To be clear, the window in back is partially visible behind the window in front (as in not completely covered).  The most important thing is, I want to be able to copy information either to or from that window. However, in short, I would like it to do everything a front window does, but without forcing itself to the front. Right now, as soon as a partially covered window is clicked on, it becomes active and jumps to the front, covering the window that is most important for me in doing my work. I hope this makes sense.

   -Ben

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #4 on: October 01, 2012, 11:54 PM »
... covering the window that is most important for me in doing my work
Why not simply make the "most important window" Always On Top"? 

bendecker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #5 on: October 02, 2012, 09:19 AM »
Is there a simple way to do that in windows XP? Im not aware of one.

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #6 on: October 02, 2012, 09:58 AM »
Nothing built in that I know of, but most all macro/scripting/filemanager utilities include the ability to keep a window on top regardless of focus.

I use AutoHotkey and MacroExpress for stuff like this, one is usually easier than the other for any particular thing.  In this case I use MacroExpress for keyboard shortcuts and mouse shortcuts that turn AlwaysOnTop on and off, pretty much one-line macros.

There's an AutoHotkey command that will do this.  You could easily assign turning this on or off for the focused window with two hotkeys.  A toggle using only one hotkey would take an extra few lines of code - you'd have to check the status of the current window and then reverse it.  If instead of a keyboard shortcut you want a mouse click on a window part, that's so easy in Macro Express that I never learned how to do that in AutoHotkey.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #7 on: October 02, 2012, 10:26 AM »
I have a free one.  See Topmost Toggle on my Hotkeys Page

Activate a window by clicking normally on it, if it's not active already. Then hotkey on the window to toggle the Topmost attribute. A tooltip pops up quickly to show the current state after you hotkey. It also has a couple of other window functions. See About Box for usage.

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #8 on: October 02, 2012, 10:52 AM »
There you go, Topmost Toggle should do the trick.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #9 on: October 02, 2012, 11:38 AM »
you might be aware of katmouse -
I used use it in XP to scroll windows that dont have focus. I *think* it also *might* have had an option to keep window on top (I know I had that option on xp but not sure how).
I'd recommend Katmouse anyways ;) :)

http://ehiti.de/katmouse/

For what purpose do you want the Window to get focus? Mouse-wheel scrolling ?
Tom

bendecker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #10 on: October 02, 2012, 01:44 PM »
TopmostToggle definitely helps. Thanks for the tip!

The single-click to focus, double click to front from the Amiga would fit my needs better (you can set up just how you want the various windows, then bounce around easily between multiples moving them forwards and back), but this is still a big step forward. I'll give Katmouse a look shortly as well. Thanks, again.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #11 on: October 02, 2012, 02:18 PM »
For Windows, WinSize2 may be worth a look. In addition to placement, there are some other bells and whistles.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #12 on: October 02, 2012, 02:38 PM »
I'm not certain they are talking about the same thing here

Seems like hover the mouse instead of single click. I would recommend backing up the registry before making changes of course. :)

bendecker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #13 on: October 08, 2012, 04:26 PM »
After giving them a try, I'd prefer a utility that does the original request:

   1. Single Click makes a window active, but does not bring it to the front

   2. Double Click makes a window active and brings it to the front.

Anyone up for a project? :-)

   -Ben

bendecker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #14 on: November 03, 2012, 06:05 PM »
Anyone...? Anyone...? Is there a technical reason as to why this is difficult? I'm happy to pay someone who knows what he/she is doing to code this utility.

Anyone...?

Tinman57

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,702
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #15 on: November 03, 2012, 06:31 PM »
Anyone...? Anyone...? Is there a technical reason as to why this is difficult? I'm happy to pay someone who knows what he/she is doing to code this utility.

Anyone...?

  I'm not positive, but I remember seeing an app on either PCWorld.com or ZDnet that does exactly what you are talking about.


  BTW, I still have my old Amiga 500 in the closet, still in the original box.  lol

bendecker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #16 on: November 03, 2012, 08:17 PM »
I've searched high and low for one unsuccessfully. If you can find the name of the app, I would really appreciate it!

Or... anyone want to code it? Please? :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #17 on: November 03, 2012, 10:12 PM »
Is there a technical reason as to why this is difficult?

Yes, actually, there is.  What you want, at its most basic, is easy to code.  What I mean is that it's fairly trivial to make single and double-clicking do what you request.  The hard part is not affecting all the other things that single and double-clicking already do in Window, e.g., selecting files, opening apps, single/double clicking titlebars, etc.  Does that make sense?

cmpm

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 2,026
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #18 on: November 04, 2012, 06:58 AM »
Wizmouse will do this-

1. Hover makes a window active, but does not bring it to the front

2. Single Click makes a window active and brings it to the front.

And it will enable scrolling on inactive windows when hovering.

http://antibody-soft...dow-under-the-mouse/

edit-
click the 'zip' to download, save yourself unwanted trouble

« Last Edit: November 04, 2012, 07:16 AM by cmpm »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #19 on: November 04, 2012, 10:40 AM »
Wizmouse works the same as Katmouse (I think Katmouse can have problems on win7).
I presume the advantage of the original request is that you could e.g. open a file from a window even while it is not on top.

Neither Wizmouse nor Katmouse allow that kind of thing.

Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #20 on: November 04, 2012, 10:42 AM »
Is there a technical reason as to why this is difficult?

Yes, actually, there is.  What you want, at its most basic, is easy to code.  What I mean is that it's fairly trivial to make single and double-clicking do what you request.  The hard part is not affecting all the other things that single and double-clicking already do in Window, e.g., selecting files, opening apps, single/double clicking titlebars, etc.  Does that make sense?

Would it be possible if, instead of single and double clicks, you used e.g.
single-click and control click -
or
giving both clicks qualifier keys
?
Tom

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #21 on: November 04, 2012, 11:44 AM »
Hm, still the same limitations imposed by Windows apply: A window that has focus is the top-most Window, unless other windows having the 'Always on top' attribute are covering it.

So, AFAICS, the only way of achieving your goal will be playing with that on-top attribute of all other windows covering the intended window. Hm, still sounds dodgy.
And I still don't understand the use-case either :huh:

(I think Katmouse can have problems on win7)
I've been using KatMouse on Win7 x64 for as long as I run that (3 years and a bit now), and I use 1 or 2 apps that have specific mouse-handling that don't like KatMouse, so I excluded them, but it works like a charm for the rest of the system & applications.

Tinman57

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,702
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #22 on: November 04, 2012, 08:04 PM »
I've searched high and low for one unsuccessfully. If you can find the name of the app, I would really appreciate it!

Or... anyone want to code it? Please? :)

  I just went to PCWorld to look for that file.  Imagine my surprise when I found that PCWorld did away with their downloads!  I've been using PCW services since the W-95 days, looks like I'm going to have to find other sites now.  It's a shame.....  Probably afraid they're going to get sued with all these take-down notices crap....

vulture_-g7

  • Participant
  • Joined in 2012
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #23 on: December 14, 2012, 10:52 AM »
So, I thought I'd check my request after some time and I'm surprised others want it too :) Not surprised they're coming from the amigaland as I am :p So, how about my original request, but on will ie pressing a hotkey to toggle this kind of behaviour - I believe that'd solve any problem, what do you think guys?

bendecker

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Single click focus, double click bring to front
« Reply #24 on: May 23, 2013, 10:16 AM »
Still looking for someone to code this. Anyone...? Is it really THAT hard on Windows? I am more than willing to pay someone for their time to make this happen. Thanks!

    -Ben