It is currently April 27th, 2024, 4:25 pm

Can't move skin

General topics related to Rainmeter.
sirandrew
Posts: 3
Joined: June 16th, 2011, 6:43 am

Can't move skin

Post by sirandrew »

I have created this simple skin which is just an icon launching mycomputer.
The problem is I cannot move it around...when I try to drag it, it would just open....any suggestion?
The option in position is set to "draggable", so not sure what is wrong.

[Icon]
Meter=IMAGE
ImageName=C:\Documents and Settings\Administrator\My Documents\Rainmeter\Skins\Enigma\Resources\Images\mycomputer.png
x=30
Y=20
W=38
H=38
LeftMouseDownAction=!execute [::{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Can't move skin

Post by Seahorse »

In the [Rainmeter] section do you have:

Code: Select all

BackgroundMode=2
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

sirandrew
Posts: 3
Joined: June 16th, 2011, 6:43 am

Re: Can't move skin

Post by sirandrew »

thanks...it works...but has an undesired consequence as it shows a background..which I don't want.
I have rebuilt it from the Enigma widget.ini template to try include Enigma styles/bacground..but still no succes to get the same behaviour as other enigma skins.
Have open a post on the Enigma thread too.
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Can't move skin

Post by Seahorse »

Remove the background image, or if just defined make it transparent by changing the alpha to 0 (alapha is the last value see below for an example using Blue.

Code: Select all

;Blue Solid
Colour2=0,223,223,255
;Blue 50% Trans
Colour3=0,223,223,175
;Blue 100% Trans
Colour3=0,223,223,0
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Can't move skin

Post by jsmorley »

What is really going on is this:

LeftMouseDownAction=!execute [::{20D04FE0-3AEA-1069-A2D8-08002B30309D}]

Should be:

LeftMouseUpAction=!execute [::{20D04FE0-3AEA-1069-A2D8-08002B30309D}]

Otherwise you are telling the meter to fire as soon as you depress the mouse instead of when you release it, and you can't drag the skin using the meter.

Simply change the above, and you really don't need to do anything else.
sirandrew
Posts: 3
Joined: June 16th, 2011, 6:43 am

Re: Can't move skin

Post by sirandrew »

:oops:

Thanks...I did not even realise it..I just copied pasted it from the Rainmeter support page....

Thansk for the super quick answer.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Can't move skin

Post by jsmorley »

sirandrew wrote::oops:

Thanks...I did not even realise it..I just copied pasted it from the Rainmeter support page....

Thansk for the super quick answer.
Glad to help.