It is currently May 21st, 2024, 11:38 am

Very NEW and need a LOT of HELP! Weather and Program linkage

Get help with creating, editing & fixing problems with skins
dumbomd
Posts: 9
Joined: September 5th, 2012, 2:26 am

Very NEW and need a LOT of HELP! Weather and Program linkage

Post by dumbomd »

Hey everyone, I'm new to Rainmeter and would appreciate any help with using it to its full potential.

First of all, I have Jarvis (from Ironman) skin installed and utilized but I can't get the different values on the Central Interface to change/link to folders and programs I use most often.

Another thing is Jarvis weather and notes--how do I update/change them?

I realized I need to read the manual which has a lot of this stuff in there but I'm working through it slowly since I don't really have too much free time. Any help is appreciated!



Here is the code for Weather:

Code: Select all

[Current]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3000
Url=http://xml.weather.com/weather/local/#location#?cc=*&unit=#metric#&dayf=0
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"

[Today]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3000
Url=http://xml.weather.com/weather/local/#Location#?cc=*&unit=#Metric#&dayf=1
RegExp="(?siU)<dayf>.*<lsup>(.*)</lsup>.*<day d="0" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Current]
StringIndex=17

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Current]
StringIndex=19
Substitute=" And ":" and ","Lgt.":"Light ","Snow/":"Snow & "

[meterdesc]
measurename=measureweatherdesc
meter=string
x=120
y=35
fontcolor=00fffc
fontsize=10
stringalign=center
stringstyle=BOLD
fontface=electrofied
antialias=1

[metertemp]
measurename=measureweathertemp
meter=string
x=225
y=86
stringstyle=normal
fontcolor=00fffc
fontsize=42
stringalign=center
stringstyle=BOLD
fontface=after disaster
antialias=1
postfix="°"
The attached is a pic of what my desktop looks like at the moment. As you can see, the values are all "value #" and quite useful.


Thank you very much!
You do not have the required permissions to view the files attached to this post.
Last edited by Brian on September 5th, 2012, 4:16 pm, edited 1 time in total.
Reason: Use [code] tags.
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by MerlinTheRed »

Most of these skins have an include file where all the relevant options are stored. Look for a file called "Variables.inc" or similar. It is most likely included in the variables section of each skin ini with an @include= statement. You need to change the "Location" variable to your local weather code, and probably a lot of other variables too. If the skin author wasn't lazy the variables should be explained in the Variables.inc file.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
dumbomd
Posts: 9
Joined: September 5th, 2012, 2:26 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by dumbomd »

Thanks! You mean something like this?



[Variables]
app1name=value1
app2name=value2
app3name=value3
app4name=value4
app5name=value5

app1path=value6
app2path=value7
app3path=value8
app4path=value9
app5path=value10

folder1path=value11
folder2path=value12
folder3path=value13
folder4path=value14
folder5path=value15
folder6path=value16

folder1name=value17
folder2name=value18
folder3name=value19
folder4name=value20
folder5name=value21
folder6name=value22

site1name=value23
site2name=value24
site3name=value25
site4name=value26
site5name=value27
site6name=value28
site7name=value29

site1link=value30
site2link=value31
site3link=value32
site4link=value33
site5link=value34
site6link=value35
site7link=value36

slideshowpath=value37

location=value38

metric=value39

drive=value40
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by MerlinTheRed »

That looks exactly like the one I mean.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
dumbomd
Posts: 9
Joined: September 5th, 2012, 2:26 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by dumbomd »

Great, so I now just have to figure out how to change them or rather, what I should change them to. Is it something like this?

[Variables]
Chrome=c:/MyComputer...
app2name=value2
app3name=value3

Thanks Merlin--you can work magic! lol
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by MerlinTheRed »

You only change the right-side value. Don't touch the left side. That's the variable name that is used in the other skins to get the variable's value. The variable names should be self-explanatory. I don't know the skin, but I'd guess that anything with "name" should be the name that is displayed, and everything that has "path" should be the path to open when you click on it...

Code: Select all

app1name=Chrome
...
app1path=C:\Program Files\Chrome\chrome.exe
...
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
dumbomd
Posts: 9
Joined: September 5th, 2012, 2:26 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by dumbomd »

I got it!!! I got the central interface to work. Now I have to get the weather and music player to work...Can I make the music player to be spotify? And I will have to find a weather code...:D

Thanks Merlin!!!
dumbomd
Posts: 9
Joined: September 5th, 2012, 2:26 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by dumbomd »

Ok, so I got everything to work except the notes!!!


Here is the code in the notes:

- r brief and proposals
- isa ppt
- design slide(s)


- VT_Quantum = 19692
- VT_Quantum = recruitment criteria?
- VT_Ipsos = 17230

- CB_Ipsos = 18000
- CB_Quantum = 22000
- CB_TNS = 18000


But whether I delete these or not, only a little circle is shown on the actual panel. I guess I could use another plugin for notes or not use it at all...but since I've got it started, I want to be able to solve it. :D


Thanks for all the help!!!


DumboMD
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by MerlinTheRed »

That looks like it's the file the notes skin gets its content from. If you want to spot the problem, you'll need to look inside the notes skin (right-click->Edit skin...). If you post the code here, please use [code][/code] tags so it doesn't cover so much space and is more readable.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
dumbomd
Posts: 9
Joined: September 5th, 2012, 2:26 am

Re: Very NEW and need a LOT of HELP! Weather and Program lin

Post by dumbomd »

Thanks Merlin! Here is what the Edit Skin gave me :D

Code: Select all

[rainmeter]
iron man/jarvis theme desktop
by barbadianOne
-notes

;Metadata added by RainBrowser
;http://rainmeter.net/RainCMS/?q=Rainmeter101_AnatomyOfASkin

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

MEASURES=====================================================

[MeasureNotes]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#currentpath#notes.txt
Disabled=0
Separator=¶
#Subfolders=0
#FileFilter=*.txt

METERS=============================================================

[background]
meter=image
imagename=notesB.png
x=0
y=0

[notes]
meter=string
measurename=measurenotes
x=60
y=40
w=150
h=240
fontcolor=00fffc
fontface=arial
fontsize=8
stringalign=left
stringstyle=bold
antialias=1
clipstring=1
leftmousedownaction=!execute ["#skinspath#\Iron Man\Notes\notes.txt"][!RainmeterRedraw]

[add]
meter=image
imagename=iconB.png
x=190
y=260
leftmousedownaction=!execute ["#skinspath#\Iron Man\Notes\notes.txt"][!RainmeterRedraw]