It is currently September 18th, 2019, 12:13 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

hikamurachi » August 18th, 2019, 4:16 pm

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: 48
Joined: September 3rd, 2018, 11:18 am

Re: Auto Hot Key text in to Rainmeter

Jeff » September 6th, 2019, 10:37 pm

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

hikamurachi » September 7th, 2019, 12:32 pm

jsmorley helped me with plugin for this task