It is currently April 25th, 2024, 1:22 am

Path2Ini Addon

Share and get help with Plugins and Addons
User avatar
exper1mental
Posts: 269
Joined: January 9th, 2013, 7:52 pm
Location: Clemson University

Path2Ini Addon

Post by exper1mental »

IMPORTANT: The skin is my work but the addon is NOT mine! It is by P2C/toastbrotpascal from their ABP Suite and all credit should go to them for their work.


Download Demo and Addon
Path2Ini v1.0.rmskin
Documentation
This AutoIt addon is similar to RainFile, it sends a !WriteKeyValue bang to Rainmeter with a selected file and also offers the ability to let you type out the name for the file or choose an icon.


Path2Ini is called with three required parameters and one optional parameter:
"Key2Type"
Valid options are:
  • "0" Select only file path.
  • "1" Select a file path and have option to choose an icon path. Trying to select an icon appears to currently cause Path2Ini to crash.
  • "2" Select a file path and have the option to input text.
"FileName"
The location of the variables file in %USERPROFILE%\Documents\Rainmeter\Skins. Do not use the variable #@# here, it doesn't work.

"KeyName"
The key that the selected file path is written to.

"Key2Name" Optional (If Key2Type is set to 0)
The key the selected icon path or user input text is written to.

Example:
"#@#Addons\Path2Ini.exe" "2" "Launcher\@Resources\Variables.inc" "App1Path" "App1Name"


Limitations
  • It would appear that Path2Ini is only compatible with standard installations of Rainmeter, meaning, it will only work properly if both the Skins folder and the Rainmeter.exe are in their default locations.
  • Trying to select an icon path with Key2Type set to "1" causes Path2Ini to crash.
  • Path2Ini does not refresh Rainmeter or any skins when its tasks are completed.
  • There is no included script file so the program unfortunately cannot be modified to resolve the above issues. :-(

License
Some rights reserved. This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
You do not have the required permissions to view the files attached to this post.
Image