There is already a screen brightness plugin:
http://rainmeter.net/forum/viewtopic.php?f=18&t=18506
I haven't seen it before I write the plugin ,and if you only control the backlight of laptop,the upper one may be better.
I've wasted lots of time using a desktop monitor control API to control laptop LCD,finally I decide to write them together.
This Plugin is used to control the backlight of laptop LCD or desktop monitor.(Support Vista and later)
It controls the laptop LCD backlight by setting AC/DC brightness in Power Management (IOCTL).
To control a desktop monitor (external monitor) ,the monitor must support DDC/CI. It seems most of the monitors since 2006 support it,but you may need to enable it in monitor OSD.
Both HDMI and VGA cable are supported.
It's designed to control 3 monitors at most at the same time, but I've no hardware to test it and it may not work in some situation.
In my test, laptop can only control the external monitor when mode is "copy",and it doesn't works well in some laptop(notebook) computer.
I don't know how to solve these problems, hoping some can help improve it.
It returns the percentage (0-100) of current brightness.
Options:
Monitor= (Default: -1)
-1 :Default.This Plugin will try to control laptop LCD first in Initialize function, if failed, then the desktop one.
0 :Try to control all of the desktop monitors(3 at most).It can also be used for laptop to control external monitor.
1 :Control the first desktop monitor.(The number is according to the log when Showlog=1)
2 :Control the second desktop monitor.For a laptop,the first external monitor should be 2.
3 :Control the third desktop monitor.
Policy= (Optional)
Forcelevel, :(for laptop)return the nearest brightness according to Divide=
Removable, :(for laptop to control monitor)When external monitor is hot pluged, with this option, monitors will be able to reinitialized after 3s to avoid the crash of the rainmeter, the time to reinitialize is according to Update in skin or Bang.Not suggested when you don't hot plug the monitor.
For example:For laptop,SetBacklight 50 may return real brightness 52, but when Policy=Forcelevel, the brightness will be set to 52,and return 50.
Divide= (Default: 10)
Number from 1 to 100
Decide the number of level when using "Backlight+" or "Backlight-".If it's set 20, then change the brightness by 5%.
For laptop LCD it's decide by the OEM in drivers, or you can use Policy=Forcelevel to make the number seems better, but the real level won't change.
Showlog= (Default: 0)
1 :Show screen information in the log,the real brightness level for laptop LCD, or the list of the monitors in control.It's no need to be set in daily use.
Usage:
[MeasureBacklight]
Measure=Plugin
Plugin=Backlight
;Monitor=-1
;Divide=10
;Showlog=1
Bangs:
!CommandMeasure "MeasureBacklight" "SetBacklight x"
Set backlight to x percent(between 0 and 100).
It will be set to the nearest level in laptop LCD.
!CommandMeasure "MeasureBacklight" "ChangeBacklight x"
Change the backlight by x percent.
!CommandMeasure "MeasureBacklight" "Backlight+"
!CommandMeasure "MeasureBacklight" "Backlight-"
Change the backlight by level.
It's for laptop LCD to change the real brightness level when Forcelevel is not set.
Example skin:(Right Click the (i)icon on top right to view the introductions in English)
It is currently October 5th, 2024, 5:01 pm
PluginBacklight - control the backlight of laptop or monitor
-
- Posts: 31
- Joined: September 1st, 2014, 1:38 am
PluginBacklight - control the backlight of laptop or monitor
You do not have the required permissions to view the files attached to this post.
-
- Posts: 145
- Joined: April 3rd, 2013, 1:04 am
- Location: O-High-O
Re: PluginBacklight - control the backlight of laptop or mon
Beauty, worked for me "out of the box", useing win 7 64bit, BenQ 24" led desktop monitor (other didn't work for me so im grateful) thanks for the work, have to dig out more monitors to test multi support......thanks!!
like the plugin and the skin
like the plugin and the skin
-
- Posts: 1175
- Joined: June 9th, 2010, 5:56 pm
- Location: Locks heath, UK
Re: PluginBacklight - control the backlight of laptop or mon
The plugin gods are continuing to give, love this, well done.
-
- Posts: 478
- Joined: February 26th, 2011, 10:22 pm
Re: PluginBacklight - control the backlight of laptop or mon
Very nice. Used in my suite. Thanks.
Droptop Four
Dropdown menu bar & app launcher for Windows & Rainmeter
Dropdown menu bar & app launcher for Windows & Rainmeter
-
- Posts: 165
- Joined: June 29th, 2014, 8:35 pm
Re: PluginBacklight - control the backlight of laptop or mon
on Windows 10 Technical Preview doesn't work
-
- Rainmeter Sage
- Posts: 16631
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: PluginBacklight - control the backlight of laptop or mon
On my desktop system, with Windows 7 Ultimate and a Philips 170S LCD monitor, works very well. Thank you.
-
- Posts: 26
- Joined: February 17th, 2014, 1:33 pm
Re: PluginBacklight - control the backlight of laptop or mon
Can someone make brightness skin from this volume skin?
http://fbed.deviantart.com/art/Volume-Slider-V2-0-211397034
http://fbed.deviantart.com/art/Volume-Slider-V2-0-211397034
-
- Developer
- Posts: 22819
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: PluginBacklight - control the backlight of laptop or mon
http://rainmeter.net/forum/viewtopic.php?f=5&t=8195220v110 wrote:Can someone make brightness skin from this volume skin?
http://fbed.deviantart.com/art/Volume-Slider-V2-0-211397034
-
- Posts: 1175
- Joined: June 9th, 2010, 5:56 pm
- Location: Locks heath, UK
Re: PluginBacklight - control the backlight of laptop or monitor
Having an issue with Backlight, not clear what is crashing it, but kills Rainmeter totally, which makes it hard to turn off the skin I am editing which I think is the source. What I would like to establish is it it my code, the plugin, Rainmeter or my PC at fault:
WER File:
Code: Select all
Fault bucket 120337068531, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: Rainmeter.exe
P2: 3.3.0.2468
P3: 56113550
P4: Backlight.DLL
P5: 0.9.3.0
P6: 5406dc3e
P7: c0000094
P8: 0000000000002779
P9:
P10:
Attached files:
C:\Users\Mike\AppData\Local\Temp\WERDD40.tmp.WERInternalMetadata.xml
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Rainmeter.exe_6c2ddb2b756bc3446decfdff2c74b7c1d6c12_280209e9_218cedcb
Analysis symbol:
Rechecking for solution: 0
Report ID: d945964b-04b6-4e31-a1bb-8f9dde8b3051
Report Status: 0
Hashed bucket: 7f28e51e734a282955bfbaf969327cd1
-
- Rainmeter Sage
- Posts: 16631
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: PluginBacklight - control the backlight of laptop or monitor
Could you please try this skin and see if it's working? Because you haven't posted a code and this way is hard to find out where could be the problem, but that Backlight skin is working on my computer, so let's see if it is on yours too.