It is currently April 19th, 2024, 11:58 am

Two questions about !RainmeterSetVariable

Get help with creating, editing & fixing problems with skins
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Two questions about !RainmeterSetVariable

Post by JpsCrazy »

When you set something like:
FontColor=#Color# and there's no variable that's Color everything goes screwy.
And I didn't have your variables.inc so there were nearly no variables.

Here's what I saw:
csm725
Posts: 46
Joined: August 16th, 2010, 4:29 pm

Re: Two questions about !RainmeterSetVariable

Post by csm725 »

Hmmmm....
So when you download from dA:
http://csm725.deviantart.com/#/d2whd5g

It gives you no inc file?
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Two questions about !RainmeterSetVariable

Post by JpsCrazy »

No no no, I didn't even download that yet.
The sample code you asked me to help fix earlier provides that.
Hence, being interested and such.
I'm sure if your actual download does that someone would have let you know about it.
csm725
Posts: 46
Joined: August 16th, 2010, 4:29 pm

Re: Two questions about !RainmeterSetVariable

Post by csm725 »

I just downloaded the file from dA on a WinXP virtual machine and it worked like a charm...
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Two questions about !RainmeterSetVariable

Post by JpsCrazy »

Let me try to further explain:
You provided me with JUST the code when trying to find out why a formula wasn't working in a !Bang.
csm725 wrote:If I copy-paste your code into a fresh ini all works well, but if I try in my skin's ini, it doesn't work. Here's the (messy :P ) code:

Code: Select all

[Rainmeter]
;--------------Deep7 dock by csm725----------------ENJOY!------
Author=csm725
http://csm725.com or http://csm725.deviantart.com
Update=600000
DynamicWindowSize=1

[Variables]
Number=5
;--------include--------------
@include=#SKINSPATH#\deep7dock\UserVariables.inc
;----font look, color, caps-----

;--------------------position helpers-----------
pos=0
;----------------------background------------------------------
[Bg]
Meter=IMAGE
ImageName=bg.png
;---------------------Measures-------------------
[MeasureX]
Measure=FreeDiskSpace
Drive=#Drive1#


;---------------------slider-------------------------

;--------------------Meters-----------------------

[LeftArrow]
Meter=STRING
;-----------Text=« #pos#------for testing purposes
Text=« #pos#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=30
AntiAlias=1
x=27
y=17
LeftMouseDownAction=!RainmeterSetVariable pos (#pos#+1)

[RightArrow]
Meter=STRING
Text=»
FontColor=#FontColor#
FontFace=#FontName#
FontSize=30
AntiAlias=1
x=800
y=r

[App1]
Meter=STRING
Text=#Name1#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
AntiAlias=1
StringAlign=Center
x=103
y=22
StringStyle=Bold
StringCase=#StringTransform#
;Hidden=1
LeftMouseDownAction= !execute ["#Path1#"]

[App1desc]
Meter=STRING
Percentual=1
Postfix=" pct"
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold

LeftMouseDownAction= !execute ["#Path1#"]

[App2]
Meter=STRING
Text=#Name2#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
StringAlign=Center
x=83r
y=-22r
StringCase=#StringTransform#

LeftMouseDownAction= !execute ["#Path2#"]

[App2desc]
Meter=STRING
Text=#Name2desc#
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold
;LeftMouseDownAction=!RainmeterHideMeter "App1desc"
LeftMouseDownAction= !execute ["#Path2#"]

[App3]
Meter=STRING
Text=#Name3#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
StringAlign=Center
x=83r
y=-22r
StringCase=#StringTransform#

LeftMouseDownAction= !execute ["#Path3#"]

[App3desc]
Meter=STRING
Text=#Name3desc#
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold

LeftMouseDownAction= !execute ["#Path3#"]

[App4]
Meter=STRING
Text=#Name4#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
StringAlign=Center
x=83r
y=-22r
StringCase=#StringTransform#

LeftMouseDownAction= !execute ["#Path4#"]

[App4desc]
Meter=STRING
Text=#Name4desc#
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold

LeftMouseDownAction= !execute ["#Path4#"]

[App5]
Meter=STRING
Text=#Name5#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
StringAlign=Center
x=83r
y=-22r
StringCase=#StringTransform#

LeftMouseDownAction= !execute ["#Path5#"]

[App5desc]
Meter=STRING
Text=#Name5desc#
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold

LeftMouseDownAction= !execute ["#Path5#"]

[App6]
Meter=STRING
Text=#Name6#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
StringAlign=Center
x=83r
y=-22r
StringCase=#StringTransform#

LeftMouseDownAction= !execute ["#Path6#"]

[App6desc]
Meter=STRING
Text=#Name6desc#
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold

LeftMouseDownAction= !execute ["#Path6#"]

[App7]
Meter=STRING
Text=#Name7#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
StringAlign=Center
x=83r
y=-22r
StringCase=#StringTransform#

LeftMouseDownAction= !execute ["#Path7#"]

[App7desc]
Meter=STRING
Text=#Name7desc#
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold

LeftMouseDownAction= !execute ["#Path7#"]


[App8]
Meter=STRING
Text=#Name8#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
StringAlign=Center
x=83r
y=-22r
StringCase=#StringTransform#

LeftMouseDownAction= !execute ["#Path8#"]

[App8desc]
Meter=STRING
Text=#Name8desc#
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold

LeftMouseDownAction= !execute ["#Path8#"]


[App9]
Meter=STRING
Text=#Name9#
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontSize#
StringStyle=Bold
AntiAlias=1
StringAlign=Center
x=83r
y=-22r
StringCase=#StringTransform#

LeftMouseDownAction= !execute ["#Path9#"]

[App9desc]
Meter=STRING
Text=#Name9desc#
MeasureName=MeasureX
FontColor=#DescFontColor#
FontFace=#DescFontName#
FontSize=#DescFontSize#
AntiAlias=1
StringAlign=Center
x=r
y=22r
StringCase=#DescStringTransform#
StringStyle=Bold

LeftMouseDownAction= !execute ["#Path9#"]

[Refresh]
Meter=IMAGE
ImageName=refresh.png
x=826
y=23

LeftMouseDownAction= !execute [!RainmeterRefresh]

[Config]
Meter=IMAGE
ImageName=config.png
x=814
y=r

LeftMouseDownAction= !execute ["#SKINSPATH#/deep7dock/config.exe]
^Remember that? THAT'S what made your skin looks like it did for me.


Downloading your skin from Deviantart makes it work just fine.
csm725
Posts: 46
Joined: August 16th, 2010, 4:29 pm

Re: Two questions about !RainmeterSetVariable

Post by csm725 »

JpsCrazy wrote:Let me try to further explain:
You provided me with JUST the code when trying to find out why a formula wasn't working in a !Bang. ^Remember that? THAT'S what made your skin looks like it did for me.


Downloading your skin from Deviantart makes it work just fine.
Okay, I misunderstood you. Thanks for your help...
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Two questions about !RainmeterSetVariable

Post by JpsCrazy »

Yepp! No problem.
Good luck making everything work.
csm725
Posts: 46
Joined: August 16th, 2010, 4:29 pm

Re: Two questions about !RainmeterSetVariable

Post by csm725 »

Thanks!