topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 12, 2024, 12:28 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: a better DimScreen  (Read 4979 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
IDEA: a better DimScreen
« on: November 25, 2009, 03:17 AM »
It looks to me that DimScreen written by Skrommel does not lower down the screen Brightness, but does some other magic instead.

So I suggest:
In Windows 7, you can go to "Adjust screen brightness" and modify the screen brightness without a need of fn keys.

There exists a Backlight Control Interface:
http://msdn.microsof...aa372656(VS.85).aspx

There exists VB.NET example:
http://www.dreaminco...ex.php?showentry=596

Would it be possible to implement it into AHK? If not then I will try to do my best to code it using C#, F# or anything else, so there would be an option to adjust a real LCD brightness :Thmbsup: But I must warn you that I have a zero experience with Windows API!

Best regards,
Oldrich

PS: One additional idea: zero brightness = turned off LCD screen
My open-source online piano game: https://github.com/musicope/game

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: IDEA: a better DimScreen
« Reply #1 on: November 25, 2009, 06:11 AM »
I have implemented it by myself. You can download it here:
http://dl.dropbox.co...ss/LcdBrightness.zip

Run "Din.exe param" to increase brightness by "param"
example "Din.exe 10" or "Din.exe -15"

Run lcd.exe (lcd.ahk)
Hold win+scroll to increase decrease brightness
hit win+1 to go to stand by

Here is the sourceCode of the Din.exe
http://dl.dropbox.co...rightness/source.zip

My open-source online piano game: https://github.com/musicope/game