Code: Select all
[Variables]
; Set this as desired. Just remember that the current color is obtained in the variable [#Chosen]
ActionsToTake=[!WriteKeyValue Variables MyColor "[#Chosen]" "#@#ColorInclude.inc"][!Refresh "*"]
Code: Select all
[Variables]
; Set this as desired. Just remember that the current color is obtained in the variable [#Chosen]
ActionsToTake=[!WriteKeyValue Variables MyColor "[#Chosen]" "#@#ColorInclude.inc"][!Refresh "*"]
Code: Select all
[Variables]
; Set this as desired. Just remember that the current RGB color is obtained in the variable [#Chosen]
; Also available to use are:
; [&Lua:curRed] [&Lua:curGreen] [&Lua:curBlue] - the separate red, green, blue RGB colors
; [&Lua:formHue] [&Lua:formSat] [&Lua:formBri] - the separate hue, saturation, brightness HSB colors
; [&Lua:curHex] - the HEX value of the RGB color in the form ffffff
ActionsToTake=[!WriteKeyValue Variables MyColor "[#Chosen]" "#@#ColorInc.inc"][!Refresh "#ROOTCONFIG#"]
Code: Select all
[MeasureLumens]
Measure=Calc
Formula=#MyLumens#
IfCondition=MeasureLumens <= 60
IfTrueAction=[!SetOption MeterHello SolidColor "232,232,232,255"]
IfFalseAction=[!SetOption MeterHello SolidColor "47,47,47,255"]
UpdateDivider=-1
Magnification has some charm, but hard to implement in this environment.eclectic-tech wrote:Good call on those pesky tooltips![]()
I especially like the "color under cursor" feature! It is a thousand times better at seeing the current color versus the "old" magnification technique.![]()
Thanks for sharing!
Code: Select all
CursorColor Plugin
Retrieves the color of the pixel under the cursor, and optionally creates a zoomed bitmap of the area around the cursor.
The only required plugin option is:
Format
which can be RGB/Red/Green/Blue.
[MeasureRGBColor]
Measure=Plugin
Plugin=CursorColor
RealTime=0
Format=RGB
[MeasureRedColor]
Measure=Plugin
Plugin=CursorColor
RealTime=0
Format=Red
[MeasureGreenColor]
Measure=Plugin
Plugin=CursorColor
RealTime=0
Format=Green
[MeasureBlueColor]
Measure=Plugin
Plugin=CursorColor
RealTime=0
Format=Blue
Other plugin options:
To retrieve the color constantly, set Update=100 or some similar low value in your skin, and use the option
RealTime=1
On the measure.
To retrieve the color only on a mouse click, set any desired Update in the skin, and use the option
RealTime=0 (or leave this option off altogether)
and retrieve the color with
[!CommandMeasure MeasureName "GetColor"].
On a mouse click action.
If RealTime=1 then other options are valid:
ZoomCreate 0 or 1 to turn off / on returning a zoomed bitmap image of the area around the cursor
ZoomToWidth Number of pixels width for the image to return
ZoomToHeight Number of pixels height for the image to return
ZoomFactor Number of times to "zoom" the area around the cursor
The plugin will return "ZoomBitmap.bmp" in the current skin folder on each measure update.