Yeah it works great, thank you. I went ahead and packaged everything up so others can grab it if they have a similar idea.Use [#ipAddress] and [#subnetMask] as well like:
[!SetVariable contents "[#ipAddress] [#subnetMask]"]
However, I don't understand why are you setting the contents variable and not just using:
[&measureScript:WriteFile('[#filePath]','[#ipAddress] [#subnetMask]')]
Anyways, I will need you to package the skin and upload it here to be able to test it further if that doesn't work (but it should).
Here are instructions on how to package it:
https://docs.rainmeter.net/manual/distributing-skins/
Edit.
Did a quick test, this works fine:Code:
[measureInput]Measure=pluginPlugin=InputTextDynamicVariables=1SolidColor=76A0E8FFFontColor=255,255,255,255Command1=[!SetVariable ipAddress "$UserInput$"] DefaultValue="Input IP Address"Command2=[!SetVariable subnetMask "$UserInput$"] DefaultValue="Input Subnet Mask"Command3=[&measureScript:WriteFile('[#filePath]','[#ipAddress] [#subnetMask]')]Command4=[!CommandMeasure "measureCommands" "Run"]
Regarding your comment about the contents variable, yeah it's definitely not necessary, I was just trying to keep things isolated so I didn't have a ton of errors in one line. Now that I've figured out the syntax, everything should work fine.
I'm probably gonna keep working on this for a few weeks though, I want to add a button that lets me switch which network adapter is being targeted as well. Thanks for helping me out

Statistics: Posted by lyingriotman — Today, 2:15 am