I just discovered Rainmeter and I freagin love it. I am currently using the Jarvis/Iron Man Skin and there is a Jarvis Meter that I thought I could easily enough provide button functionality, but I am unsure of how to have it act as a hotkey upon pressing.
Basically, I have the Alexa app which uses the shortcut: Ctrl + Shift + A to wake it up, and I would like to apply that shortcut to the Jarvis Button.
I essentially just grabbed the code below from another button being used in the skin, placed it in the Jarvis .ini file hoping to replace the Rotator with the Button code, but I can not get it to simulate the above shortcut.
Code: Select all
[MeterButton]
Meter=BUTTON
ButtonImage=sJARVIS.png
ButtonCommand=!Execute ["%UserProfile%"] < Replace this with some kind of keypress function?
Antialias=1
Thanks in advance for any help!
Code: Select all
[Rainmeter]
Update=50
DynamicWindowSize=1
[Variables]
ImageW=370
ImageH=370
[MeasureRotate]
Measure=Calc
Formula=(MeasureRotate % 360) + 1
MaxValue=360
[MeterRotate3]
Meter=Rotator
MeasureName=MeasureRotate
ImageName=sCORE.png
RotationAngle=10
OffsetX=(#ImageW# / 2)
OffsetY=(#ImageH# / 2)
W=#ImageW#
H=#ImageH#
[MeterRotate4]
Meter=Rotator
MeasureName=MeasureRotate
ImageName=sCRPT.png
RotationAngle=-10
OffsetX=(#ImageW# / 2)
OffsetY=(#ImageH# / 2)
W=#ImageW#
H=#ImageH#
[MeterRotate6]
Meter=Rotator
MeasureName=MeasureRotate
ImageName=sJARVIS.png
RotationAngle=0
OffsetX=(#ImageW# / 2)
OffsetY=(#ImageH# / 2)
W=#ImageW#
H=#ImageH#
[MeterRotate7]
Meter=Rotator
MeasureName=MeasureRotate
ImageName=sO_RNG.png
RotationAngle=5
OffsetX=(#ImageW# /2 )
OffsetY=(#ImageH# / 2)
W=#ImageW#
H=#ImageH#
[ImageMeter]
Meter=Image
ImageName=[ImageNumberCalc].png
DynamicVariables=1
ImageTint=#ColorStyle#
OffsetX=(#ImageW# /2)
OffsetY=(#ImageH# /s)
[ImageNumberCalc]
Measure=Calc
Formula=Counter % 30