Thanks, that worked great.Alex88 wrote: ↑August 22nd, 2020, 2:13 am Can try this example using and .
Ignore the extraneous -1 Update or UpdateDivider if needed, am just used to placing that.HotkeyFocus.gif
Code: Select all
[Rainmeter] Update=-1 AccurateText=1 DynamicWindowSize=1 OnFocusAction=[!CommandMeasure measureHotkey Start][!SetOption MeterText FontColor 255,255,255][!UpdateMeter *][!Redraw] OnUnfocusAction=[!CommandMeasure measureHotkey Stop][!SetOption MeterText FontColor 128,128,128][!UpdateMeter *][!Redraw] [measureHotkey] Measure=Plugin Plugin=Hotkey Hotkey=1 ShowAllKeys=1 KeyDownAction=[!SetOption MeterText SolidColor 0,100,0][!UpdateMeter *][!Redraw] KeyUpAction=[!SetOption MeterText SolidColor 0,0,0][!UpdateMeter *][!Redraw] UpdateDivider=-1 [MeterText] Meter=String FontSize=12 StringAlign=CenterCenter FontColor=128,128,128 SolidColor=0,0,0 Text=Text X=50 Y=25 W=100 H=50
I have ~20 meters I want to use hotkeys for, so the Focus/Unfocus line is gonna be HUGE!
*** Edit ***
Turned out great, really happy with this! Just gotta write a quick script in AHK to return focus to the previous application so that I could escape the launcher as-well.