It is currently April 26th, 2024, 9:13 am

RainConfigure

Share and get help with Plugins and Addons
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

RainConfigure

Post by Kaelri »

This is a generalized version of the Configuration Tool in Enigma, written by JSMorley. It is designed to read and set identical variables for multiple skins, when the number of skins in a config is too large for a user to do so manually.

Note: The original file here was corrupted in a file/restore abortion a couple of months ago. A variant of this can be found at: http://browse.deviantart.com/customization/skins/sysmonitor/rainmeter/?qh=&section=&q=rainconfigure#/d2pvc79

RainConfigure.exe must be placed in the top-level folder of the config; it cannot affect skins in folders higher than itself. RainConfigure.cfg must be placed in the same folder as RainConfigure.exe.

The .CFG must be customized for the specific skins and variables that it will affect. The format isn't too much different from a Rainmeter skin:

Code: Select all

[Variables]
Variable1
Name the variable on the first line.
Variable2
Provide a short description on the second line.
Variable3
RainConfigure supports up to 200 variables.
Variable4
But for your users' sake, please don't add that many.
[Files]
Skin.ini
Folder1\Skin.ini
Folder2\Skin.ini
Folder3\Folder4\Skin.ini
(Below, Enigma's Configuration.CFG as an example.)

Code: Select all

[Variables]
WeatherCode
Your AccuWeather location code.
Unit
"0" for Fahrenheit, "1" for Celsius.
GmailUsername
Your Google Account username.
GmailPassword
Your Google Account password.
TwitterUsername
Your Twitter username.
TwitterPassword
Your Twitter password.
Atom
Atom feed URL for Atom-Reader.
RSS1
RSS 2.0 feed URL for RSS-Reader.
RSS2
RSS 2.0 feed URL for RSS-Reader2.
RSS3
RSS 2.0 feed URL for RSS-Reader3.
Drive1
Letter of 1st hard drive.
Drive2
Letter of 2nd hard drive.
Drive3
Letter of 3rd hard drive.
NoteHeight
Height of Notes in pixels.
ReaderInterval
Period in which Reader switches feeds.
SidebarSpacing
This number is subtracted from Sidebar's height.
World1WeatherCode
AccuWeather location code for World.
World2WeatherCode
AccuWeather location code for World (2).
World3WeatherCode
AccuWeather location code for World (3).
Color1
Primary text color for all skins.
Color2
Label text color for all skins.
Color3
Third text color for a few skins.
ColorActive
Color for buttons and links.
ColorBorder
Color of borders in Sidebar skins.
ColorIcon
"W" for white icons, "B" for black.
ColorUpload
This color represents outgoing traffic.
ColorDownload
This color represents incoming traffic.
[Files]
Sidebar\_Sidebar\Sidebar.ini
Sidebar\_Sidebar\Second-Sidebar\Sidebar2.ini
Sidebar\Calendar\Calendar.ini
Sidebar\Calendar\Calendar-Week.ini
Sidebar\Clock\Big-Clock.ini
Sidebar\Clock\Big-Clock-Left.ini
Sidebar\Clock\Little-Clock.ini
Sidebar\Clock\Little-Clock-Left.ini
Sidebar\Music\Music.ini
Sidebar\Network\Network.ini
Sidebar\Notes\Notes.ini
Sidebar\Reader\Reader.ini
Sidebar\Reader\Atom-Reader\ReaderAtom.ini
Sidebar\Reader\Gmail-Reader\ReaderGmail.ini
Sidebar\Reader\RSS-Reader\ReaderRSS.ini
Sidebar\Reader\RSS-Reader2\ReaderRSS2.ini
Sidebar\Reader\RSS-Reader3\ReaderRSS3.ini
Sidebar\Reader\Twitter-Reader\ReaderTwitter.ini
Sidebar\Reader\Unified-Reader\ReaderUnified.ini
Sidebar\Systems\Systems.ini
Sidebar\Toggles\Toggle.ini
Sidebar\World\World.ini
Sidebar\World\Second-World\World2.ini
Sidebar\World\Third-World\World3.ini
Taskbar\_Taskbar\Taskbar.ini
Taskbar\Clock-Date\Date.ini
Taskbar\Clock-Date\Date-Mini.ini
Taskbar\Clock-Week\Week.ini
Taskbar\Clock-Week\Week-Mini.ini
Taskbar\Clock\Time.ini
Taskbar\Clock\Time-Mini.ini
Taskbar\Clock\Time-Icon.ini
Taskbar\Combos\Clock + Location\Time.ini
Taskbar\Combos\Clock + Location\Time-Mini.ini
Taskbar\Combos\Date + Week\Week.ini
Taskbar\Combos\Date + Week\Week-Mini.ini
Taskbar\Combos\Tray Clock\TrayClock.ini
Taskbar\Combos\Tray Systems\TraySystems.ini
Taskbar\Gmail\Mail.ini
Taskbar\Gmail\Mail-Mini.ini
Taskbar\Gmail\Mail-Icon.ini
Taskbar\Launcher\Button.ini
Taskbar\Launcher\Menu\Menu.ini
Taskbar\Location\Location.ini
Taskbar\Location\Location-Mini.ini
Taskbar\Moon\Moon.ini
Taskbar\Moon\Moon-Mini.ini
Taskbar\Moon\Moon-Icon.ini
Taskbar\MoxaWeather\MoxaWeather.ini
Taskbar\MoxaWeather\MoxaWeather-3Days.ini
Taskbar\MoxaWeather\MoxaWeather-Toggle.ini
Taskbar\Music\Music.ini
Taskbar\Music\Music-Mini.ini
Taskbar\Music\Music-Icon.ini
Taskbar\Network-Address\Address.ini
Taskbar\Network-IO\IO.ini
Taskbar\Network-IO\IO-Icon.ini
Taskbar\Network-WiFi\WiFi.ini
Taskbar\Network-WiFi\WiFi-Mini.ini
Taskbar\Rain\Rain.ini
Taskbar\Rain\Rain-Mini.ini
Taskbar\Rain\Rain-Icon.ini
Taskbar\Recycler\Recycler.ini
Taskbar\Recycler\Recycler-Mini.ini
Taskbar\Recycler\Recycler-Icon.ini
Taskbar\Sun\Sun.ini
Taskbar\Sun\Sun-Icon.ini
Taskbar\System-Compact\Compact.ini
Taskbar\System-Compact\Compact-Icon.ini
Taskbar\System-CPU\CPU.ini
Taskbar\System-CPU\CPU-Mini.ini
Taskbar\System-HDD\HDD.ini
Taskbar\System-HDD\HDD-Mini.ini
Taskbar\System-HDD\HDD-Icon.ini
Taskbar\System-HDD\Second-HDD\HDD2.ini
Taskbar\System-HDD\Second-HDD\HDD2-Mini.ini
Taskbar\System-HDD\Second-HDD\HDD2-Icon.ini
Taskbar\System-HDD\Third-HDD\HDD3.ini
Taskbar\System-HDD\Third-HDD\HDD3-Mini.ini
Taskbar\System-HDD\Third-HDD\HDD3-Icon.ini
Taskbar\System-PWR\PWR.ini
Taskbar\System-PWR\PWR-Mini.ini
Taskbar\System-PWR\PWR-Icon.ini
Taskbar\System-RAM\RAM.ini
Taskbar\System-RAM\RAM-Mini.ini
Taskbar\System-Uptime\Uptime.ini
Taskbar\System-Uptime\Uptime-Mini.ini
Taskbar\World\World1.ini
Taskbar\World\World1-Mini.ini
Taskbar\World\World1-Icon.ini
Taskbar\World\Second-World\World2.ini
Taskbar\World\Second-World\World2-Mini.ini
Taskbar\World\Second-World\World2-Icon.ini
Taskbar\World\Third-World\World3.ini
Taskbar\World\Third-World\World3-Mini.ini
Taskbar\World\Third-World\World3-Icon.ini
User avatar
jsmorley
Developer
Posts: 22630
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RainConfigure

Post by jsmorley »

Nice idea. With Autoit being so easy to use, an author can easily (relatively) change the appearance to make it fit their theme as well.
User avatar
redblack
Posts: 24
Joined: June 21st, 2009, 5:08 am
Location: Australia

Re: RainConfigure

Post by redblack »

So cool!! You guys rock :D
iUnify
Posts: 66
Joined: August 10th, 2009, 11:52 pm

Re: RainConfigure

Post by iUnify »

IS this so the skins will load right when you open a theme?

What work must be done on this from it's present form?

Paste it to .ini and fill in the blanks kind of deal? Make you pictures....add the names of your skins and the rest falls into place?

Just wondering how complicated it is.

Also, what is autoit (external app?) and how is it involved with this?

Thanks guys! :D
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: RainConfigure

Post by Kaelri »

When multiple skins are using the same variable, this tool can set that variable to the same value for all of those skins. It does not require anything to be added to the .INI files, aside from a consistent (and exclusive) set of variable names.

As I described, you just need to make sure the two required files - RainConfigure.exe and RainConfigure.cfg - are in the right place. Then, edit RainConfigure to add a list of applicable variables and skin filepaths. When that's done, the tool can be used.

AutoIt is the programming language used to write the tool. The source code is provided, but not required. The executable is entirely independent.
User avatar
Saad
Posts: 19
Joined: March 24th, 2010, 1:05 am

Re: RainConfigure

Post by Saad »

Okay, so I was looking at Omnimo 2 preview, and I noticed that its RainConfigure was styled differently. How do you do this?
http://fc02.deviantart.net/fs70/f/2010/107/4/2/Current_Omnimo_2_desktop_by_fediaFedia.png
~Saad Baig
User avatar
jsmorley
Developer
Posts: 22630
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RainConfigure

Post by jsmorley »

You get AutoIt3 and change the code and compile it.
User avatar
Klexur
Posts: 42
Joined: May 4th, 2009, 2:05 am

Re: RainConfigure

Post by Klexur »

i tied downloading the zip file but it said the file was invalid, so i guess its corrupted? i tried to dl it three times too =[

EDIT: well im able to open it with 7zip, but not extract the files, could somebody re-upload it please?
The quiet and inquisitive one.