DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: DimSaver *improvement* needed!  (Read 13,317 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
IDEA: DimSaver *improvement* needed!
« on: January 18, 2007, 11:07 AM »
DimSaver (http://www.donationcoder.com/forum/index.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?
Thank you.
« Last Edit: January 20, 2007, 10:25 AM by brotherS »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Re: IDEA: DimSaver *improvement* needed!
« Reply #1 on: January 20, 2007, 10: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!
Thank you.

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: IDEA: DimSaver *improvement* needed!
« Reply #2 on: January 21, 2007, 06: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
Code
SysGet,dragx,68 ;SM_CXDRAG 
SysGet,dragy,69 ;SM_CYDRAG 
with
Code
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
Re: IDEA: DimSaver *improvement* needed!
« Reply #3 on: January 21, 2007, 08:53 PM »
On line 14, replace
Code
SysGet,dragx,68 ;SM_CXDRAG 
SysGet,dragy,69 ;SM_CYDRAG 
with
Code
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.
:)
Thank you.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: DimSaver *improvement* needed!
« Reply #4 on: January 22, 2007, 01:26 AM »
:) 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
Re: IDEA: DimSaver *improvement* needed!
« Reply #5 on: January 22, 2007, 01:57 PM »
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
Thank you.

brotherS

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

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: DimSaver *improvement* needed!
« Reply #7 on: January 22, 2007, 07: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
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: DimSaver *improvement* needed!
« Reply #8 on: January 22, 2007, 07: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
Re: IDEA: DimSaver *improvement* needed!
« Reply #9 on: January 23, 2007, 11: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.
Thank you.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Re: IDEA: DimSaver *improvement* needed!
« Reply #10 on: January 23, 2007, 12:17 PM »
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.
Thank you.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: DimSaver *improvement* needed!
« Reply #11 on: January 23, 2007, 06:22 PM »
:tellme: What boxes are checked in the settings? And does it still
Quote
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
Re: IDEA: DimSaver *improvement* needed!
« Reply #12 on: January 30, 2007, 12:48 PM »
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
Quote
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!
Thank you.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Re: IDEA: DimSaver *improvement* needed!
« Reply #13 on: January 31, 2007, 06: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?
Thank you.

Original address: https://www.donationcoder.com/forum/index.php?topic=7065.0