This addon is designed to send !RainmeterWriteKeyValue with user-provided text. When RainWrite is called, it creates a small text input field at the position of the user's mouse.
The user types a new value, then presses Enter, which writes the new value and refreshes all active Rainmeter skins. The syntax is almost identical to !RainmeterWriteKeyValue:
FileName is the location of the file where the new value will be written. This must be a file that is accessible to Rainmeter.exe (i.e. the Skins, AppData or Program folders.) Section Name is the section of the file. KeyName is the key name. DefaultValue is what will appear in the text box when it is created. If you're writing variables, I recommend that this be the current value of the variable.
Can you describe how to run this tool? That is, it sounds as if you run it as an executable, but if that is the case,
from what location should the .exe be launched from?
BTW I sent you another PM last night, in case you didn't notice
I did notice, just not 'til I woke up this morning. ;)
The .rmskin installer will copy RainWrite.exe to your Rainmeter Addons folder - usually C:\Program Files\Rainmeter\Addons. Once it's there, your skins can use a built-in variable, #ADDONSPATH#, to reference its location.
The tool can be called with any mouse action, which is a line that is appended to a meter section. For example:
[SampleMeter]
Meter=STRING
Text="Click here to edit a variable!"
LeftMouseDownAction=!Execute ["#ADDONSPATH#RainWrite\RainWrite.exe" Variables VariableName "#VariableName#" "#SKINSPATH#YourSkinName\YourSkinVariables.inc"]
Ah! For some reason, I didn't understand that, even after reading your first post like four times. I've been busy "porting" for lack of a better term, all my currently used skins into the new file system, which includes stylesheets stored in a Styles folder. This is proving to be a real biatch, because right now I do not know just what is allowed and what is not. In any case, hopefully I can run this tool and test it out later on today. Oh, and thanks a lot for answering so quick
-Pandora
Last edited by Pandora on December 3rd, 2010, 3:04 am, edited 1 time in total.
It's ok, you just replaced complete rube goldberg / bag on the machine crap that Kaelri and I did in two days of AutoIt work with the perfect solution in 15 minutes of C#. We only hate you a little.