It is currently February 28th, 2020, 6:16 am

Auto Hot Key text in to Rainmeter

Help with creating, editing & fixing problems with skins
hikamurachi
Posts: 10
Joined: August 17th, 2019, 5:14 pm

Auto Hot Key text in to Rainmeter

Post by hikamurachi »

How pass text from ahk to rainmeter?
%Title% need send to rainmeter
  #NoEnv
#NoTrayIcon

OldProcess := "N/A"
ProgramPath = %1%
VariableName = %2%
ConfigName = %3%
WinGetTitle, Title, A

loop{
Sleep, 100
WinGetTitle, Title, A
if (ProcessProcess <> OldProcess)
Run, "%ProgramPath%" !SetVariable "%VariableName%" "%Title%" "%ConfigName%"
OldProcess := ProcessProcess

MsgBox, %Title%
}  
User avatar
Jeff
Posts: 125
Joined: September 3rd, 2018, 11:18 am

Re: Auto Hot Key text in to Rainmeter

Post by Jeff »

https://github.com/khanhas/PowershellRM/blob/master/example-skins/ActiveWindow/ActiveWindow.ini

this sounds like something you can do without autohotkey
khan already did that with his PowershellRM plugin lol
hikamurachi
Posts: 10
Joined: August 17th, 2019, 5:14 pm

Re: Auto Hot Key text in to Rainmeter

Post by hikamurachi »

jsmorley helped me with plugin for this task