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

I've got several questions here,HELP plz.

Get help with creating, editing & fixing problems with skins
Hugh_wong
Posts: 3
Joined: April 18th, 2010, 4:15 am

I've got several questions here,HELP plz.

Post by Hugh_wong »

I just came here for one day, but I met several questions.
1. the MiddleMouseDownAction=!RainmeterRefresh #CURRENTCONFIG# does NOT work, since I changed the folder of the skin I made.
2. In the help file, the example codes under the Dynamic Variables seems not work at all.
I post the code here

Code: Select all

[Variables]
Width=100

[MeasureCalc]
Measure=Calc
Formula=Counter%100

[Square1]
Meter=Image
SolidColor=255,0,0
W=#Width#
H=50
MouseOverAction=!RainmeterSetVariable Width 200
DynamicVariables=1

[Square2]
Meter=Image
SolidColor=0,0,255
W=[MeasureCalc]
H=50
Y=R

Which just show the Square1 as a red 100x50 pixel box, seems that the !RainmeterSetVariable doesn't work.
And the Square2 shows nothing, I doubted that the W=[MeasureCalc] won't work.
Is this just bug or a somethings else?
By the way , I use the beta 1.2 , OS is Windows 7 32bit.
HELP, thanks in advance.
User avatar
kenz0
Developer
Posts: 263
Joined: July 31st, 2009, 2:23 pm
Location: Tokyo, JPN

Re: I've got several questions here,HELP plz.

Post by kenz0 »

1.) It works fine for me. Is not middle click overridden to other operation by mouse application?
2.) Try as follows.

--------------------------------
[Rainmeter]
DynamicWindowSize=1


[Variables]
Width=100

[MeasureCalc]
Measure=Calc
Formula=Counter%100

[Square1]
Meter=Image
SolidColor=255,0,0
W=#Width#
H=50
MouseOverAction=!RainmeterSetVariable Width 200
DynamicVariables=1

[Square2]
Meter=Image
SolidColor=0,0,255
W=[MeasureCalc]
H=50
Y=R
DynamicVariables=1
.
Image
Hugh_wong
Posts: 3
Joined: April 18th, 2010, 4:15 am

Re: I've got several questions here,HELP plz.

Post by Hugh_wong »

1. it still wont refresh no matter how many times I push the button. I've checked the code more than once ,but still didn't find the reason.
2. YES, it works , I really appreciate it.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: I've got several questions here,HELP plz.

Post by Chewtoy »

Hugh_wong wrote:1. it still wont refresh no matter how many times I push the button. I've checked the code more than once ,but still didn't find the reason.
And, as kenz0 asked but didn't get an answer to, you have no specialoperation that is linked to middlemousclick?
Like, when you press middle mouse (anywhere on the desktop) you zoom or something.
I don't think, therefore I'm not.
Hugh_wong
Posts: 3
Joined: April 18th, 2010, 4:15 am

Re: I've got several questions here,HELP plz.

Post by Hugh_wong »

Chewtoy wrote: And, as kenz0 asked but didn't get an answer to, you have no specialoperation that is linked to middlemousclick?
Like, when you press middle mouse (anywhere on the desktop) you zoom or something.
I renamed the folder to another name, and it works again, guess that the folder name cannt be same as the .ini file?
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: I've got several questions here,HELP plz.

Post by dragonmage »

That shouldn't matter unless you changed the folder name while Rainmeter was running. In that case Rainmeter could not find the skin. You would need a Refresh All, or a restart of Rainmeter (so Rainmeter could recognize the new folder structure) then reload the skin from the new location.