i am using rainmeter to display the network settings on our computers.
what i want to achieve is, that rainmeter "triggers" a command on network change but not on start of rainmeter.
i came across the "onchangeaction" command - this works correctly, but i only want the command to be executed if the computer is on a specific network. how do i "connect" the onchangeaction with ifmatch statement?
First I probably would use a RunCommand plugin measure, to can hide the cmd.exe (DOS) Command Prompt window. For this you need to add the following measure:
If added, you need to use this measure. This can be done through a !CommaneMeasure bang ([!CommandMeasure "MeasureRun" "Run"]), added to the IfMatchAction option of [measureIP] measure: IfMatchAction=[!CommandMeasure "MeasureRun" "Run"] .
But here I have another concern / tip: you probably have tried to comment out the IfMatch / IfMatchAction options, adding the # character in front of them. Commenting out in Rainmeter is done with semicolon, not with dash. However you don't need anymore to comment out these options, so remove the dashes.