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: a better DimScreen  (Read 6,421 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
IDEA: a better DimScreen
« on: November 25, 2009, 09: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.microsoft.com/en-us/library/aa372656(VS.85).aspx

There exists VB.NET example:
http://www.dreamincode.net/forums/blog/rodgerb/index.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
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: IDEA: a better DimScreen
« Reply #1 on: November 25, 2009, 12:11 PM »
I have implemented it by myself. You can download it here:
http://dl.dropbox.com/u/4571/nemazat/lcdBrightness/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.com/u/4571/nemazat/lcdBrightness/source.zip

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

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