topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday December 13, 2024, 2:23 am
  • 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

Author Topic: IDEA: DimSaver *improvement* needed!  (Read 10188 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
IDEA: DimSaver *improvement* needed!
« on: January 18, 2007, 05:07 AM »
DimSaver (https://www.donation...dex.php?topic=3095.0) still isn't running perfectly here, and MAYBE I finally figured out a way to fix it.

If not, this would 'just' make DimSaver a bit better :)

DimSaver has "Actions that closes DimSaver" options (maybe rename that to "Actions that close DimSaver"?):
  • Mouse Moves
  • Mouse Clicks
  • Keys

I need a new option, "Mouse is moved for more than ____ milliseconds"! That should hopefully fix my problem, *and* it would allow users to click to another window or close something without disabling the screen-saver.

I'd love it! :-*

If you can spare the time, you might also want to add an "Keyboard used for more than ____ milliseconds" option, which would be very helpful too!

Skrommel sadly seems to have lost interest in DimSaver, maybe I asked for too many features (sorry!) :-[

Anyone up to this task?
« Last Edit: January 20, 2007, 04:25 AM by brotherS »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #1 on: January 20, 2007, 04:27 AM »
Ok, I sold some old CDs, with the $10 I got I hereby start a "DimSaver improvement fund" - he who improves it like described above gets it.

Thanks!

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #2 on: January 21, 2007, 12:03 PM »
Dimsaver isn't my code, so i'm not sure if this is the right way to do it, but maybe you could solve your problem like this:

On line 14, replace
SysGet,dragx,68 ;SM_CXDRAG
SysGet,dragy,69 ;SM_CYDRAG
with
dragx = 15
dragy = 15
As far as i understand, that'll configure dimsaver so that the mouse has to be moved more than 15 pixels from it's original place to deactivate it.
I do like your idea about being able to close windows and keep dimsaver active, but that'd be a major rewirte of the code, and i'm not up to the job. I just hope this'll solve the problem.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #3 on: January 21, 2007, 02:53 PM »
On line 14, replace
SysGet,dragx,68 ;SM_CXDRAG
SysGet,dragy,69 ;SM_CYDRAG
with
dragx = 15
dragy = 15
As far as i understand, that'll configure dimsaver so that the mouse has to be moved more than 15 pixels from it's original place to deactivate it.
I do like your idea about being able to close windows and keep dimsaver active, but that'd be a major rewirte of the code, and i'm not up to the job. I just hope this'll solve the problem.
Thanks, but that won't fix my problem. I need it to be based on time that passed, not pixel distance.


Dimsaver isn't my code, so i'm not sure if this is the right way to do it, but maybe you could solve your problem like this:
Oh, I thought that AHK coders regard their work like those Linux folks: If you can, it's ok to improve it.
I vaguely remember skrommel saying something like that too, but he or mouser should know for sure.
:)

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #4 on: January 21, 2007, 07:26 PM »
 :) Try DimSaver v2.1!

- 2007.01.22 - v2.1: Added option to ignore accidental mouse movement.

There's also some rearrangement in the settings dialog, with a new option to set the time to ignore mouse movement.

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #5 on: January 22, 2007, 07:57 AM »
Hi skrommel! Thanks! :)

The new GUI looks good, but sadly I still sometimes get the old bug: DimSaver kicks in and immediately exits - while I'm sitting a meter away, not touching anything.

And would you perhaps add another "how long to ignore keys being pressed" option? I (as a hardcore keyboard user) would love that! :D

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #6 on: January 22, 2007, 12:24 PM »
Also, my mouse cursor now (sometimes) disappears, I have to press Ctrl-Alt-Del (to quit DimSaver) to get it back.
« Last Edit: January 22, 2007, 12:58 PM by brotherS »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #7 on: January 22, 2007, 01:15 PM »
 :tellme: So DimSaver is running, but there's no dimming? Seems like something is closing the windows covering the screen...

Skrommel

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #8 on: January 22, 2007, 01:45 PM »
 :tellme: I've uploaded DimSaver v2.2. It should put the window back if it is closed. Se if this helps. If not, your window is moved, and I'll have to move it back...

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #9 on: January 23, 2007, 05:18 AM »
:tellme: I've uploaded DimSaver v2.2. It should put the window back if it is closed. Se if this helps. If not, your window is moved, and I'll have to move it back...
2.2 still disables itself when I press Ctrl+TAB.

PS: Your page still says "2.1" and mentions no changes beyond 2.1.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #10 on: January 23, 2007, 06:17 AM »
2.2 still disables itself when I press Ctrl+TAB.
I also found out that I can press *just* Ctrl or *just* Alt while DimSaver is active, but when I press both keys together, DimSaver will disable itself.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #11 on: January 23, 2007, 12:22 PM »
 :tellme: What boxes are checked in the settings? And does it still
kicks in and immediately exits - while I'm sitting a meter away, not touching anything.
?

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #12 on: January 30, 2007, 06:48 AM »
Sorry for the late reply, I'm busy as hell here.

:tellme: What boxes are checked in the settings?
Interesting... the problem isn't there anymore.

And does it still
kicks in and immediately exits - while I'm sitting a meter away, not touching anything.
?
No, thankfully not! :) But the mouse cursor still moves to the 0,0 position, which is caused by the (otherwise totally awesome!) "Smart Move" option of my Logitech mouse. The only way to fix this probably is by adding something like "Before dimming, remember which window has focus. Then dim and bring back focus to that window without disabling DimSaver".

And could you please add a "key combination that quits DimSaver" option? That would be very helpful!

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: DimSaver *improvement* needed!
« Reply #13 on: January 31, 2007, 12:25 PM »
And could you please add a "key combination that quits DimSaver" option? That would be very helpful!
Maybe make this a "hit ______ button twice in less than one second to quit DimSaver" option?