Note that Rainmeter skins have the full path and filename of the skin .ini file set as their window title. So in theory, you could have a skin that could return the path to some other skin when you click on the other skin.
Version 1.3 : Changed the plugin to return the length of the title text as the number value.
Version 1.2 : Changed the plugin to eliminate a possible buffer overrun.
Version 1.1 : Changed the plugin so the measure's string value can be "disabled" (paused) on demand, which gives you more flexibility in interacting with the values.
Code: Select all
[Rainmeter] Update=1000 DynamicWindowSize=1 AccurateText=1 MouseOverAction=[!DisableMeasure MeasureActiveTitle] MouseLeaveAction=[!EnableMeasure MeasureActiveTitle] [Metadata] Name=GetActiveTitle Author=JSMorley Information=Uses the GetActiveTitle plugin to retreive the Window Title of the currently active window. License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0 Version=Aug 19, 2010 [Variables] [MeasureActiveTitle] Measure=Plugin Plugin=GetActiveTitle [MeterActiveTitle] Meter=String MeasureName=MeasureActiveTitle FontSize=11 FontWeight=400 FontColor=255,255,255,255 SolidColor=47,47,47,255 Padding=5,5,5,5 AntiAlias=1 DynamicVariables=1 LeftMouseUpAction=[!SetClip "[MeasureActiveTitle]"]