It is currently April 12th, 2021, 3:59 am

Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Share and get help with Plugins and Addons
User avatar
balala
Rainmeter Sage
Posts: 12543
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by balala »

FxbyV wrote: March 8th, 2021, 11:59 pm is it possible to make the picture permanently to the skin? (Like u drop the picture into the skin and then after a pc restart the picture is still there?)
Yep, I suppose it is possible, but first please post a code of the skin you're working with. Would be much easier to help.
FxbyV
Posts: 7
Joined: March 8th, 2021, 11:56 pm

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by FxbyV »

balala wrote: March 9th, 2021, 9:48 am Yep, I suppose it is possible, but first please post a code of the skin you're working with. Would be much easier to help.
Can I send you the skin via PN?
User avatar
balala
Rainmeter Sage
Posts: 12543
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by balala »

FxbyV wrote: March 9th, 2021, 10:19 am Can I send you the skin via PN?
No, post it here, please.
FxbyV
Posts: 7
Joined: March 8th, 2021, 11:56 pm

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by FxbyV »

balala wrote: March 9th, 2021, 10:59 am No, post it here, please.
So basically I want to make it possible to change the icon of every app in my custom taskbar I made by drag dropping the image onto it
I already made that drag dropping part on the first app but my problem is that this isnt getting saved.
( Ignore my grammar please:) )

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
RightMouseUpAction=[]

;===================================================================================================================;

[Metadata]
Name=CleanOS
Author=FxbyV
Information=
Version=
License=

;===================================================================================================================;

[DragNDrop]
Measure=Plugin
Plugin=Drag&Drop
Action=Path
OnDropAction=[!HideMeter MeterText][!UpdateMeter Image][!Redraw][!Log $File$]

;===================================================================================================================;

[Variables]

;===================================================================================================================;

image1= microsoft windows
image2= smarthome
image3= discord
image4= ubisoft play
image5= steam
image6= google chrome
image7= minecraft
image8= adobe photoshop
image9= netflix
image10= calculator
image11= files
image12= adobe after effects

;===================================================================================================================;

prog1= openstartmenu
prog2= 
prog3= 
prog4= 
prog5= 
prog6= 
prog7= 
prog8= 
prog9= 
prog10= 
prog11= 
prog12= 

;===================================================================================================================;

[Variables]
color=191919
taskbarsize= 800

;===================================================================================================================;

[Taskbar]
Meter=Shape
Shape=Rectangle 0,0,800,75,20,20 | Fill Color 9c9c9c | StrokeWidth 0

;MouseOverAction= [!SetOption #CURRENTSECTION# Y 0] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
;MouseLeaveAction= [!SetOption #CURRENTSECTION# Y +73] [!UpdateMeter #CURRENTSECTION#] [!Redraw]

;===================================================================================================================;

[1]
Meter=Image
MeasureName=DragNDrop
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog1#]
MouseOverAction=[!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X= 2r
Y= 3r

[2]
Meter=Image
ImageName=#@#image\#image2#
LeftMouseDoubleClickAction=[!ToggleConfig "CleanOS\App Container - 1" "App Container - 1.ini"]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[3]
Meter=Image
ImageName=#@#image\#image3#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog3#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[4]
Meter=Image
ImageName=#@#image\#image4#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog4#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[5]
Meter=Image
ImageName=#@#image\#image5#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog5#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[6]
Meter=Image
ImageName=#@#image\#image6#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog6#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[7]
Meter=Image
ImageName=#@#image\#image7#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog7#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[8]
Meter=Image
ImageName=#@#image\#image8#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog8#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[9]
Meter=Image
ImageName=#@#image\#image9#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog9#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[10]
Meter=Image
ImageName=#@#image\#image10#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog10#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[11]
Meter=Image
ImageName=#@#image\#image11#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog11#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[12]
Meter=Image
ImageName=#@#image\#image12#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog12#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

;===================================================================================================================;
User avatar
Setsukka
Posts: 19
Joined: March 20th, 2018, 9:53 am
Location: China

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by Setsukka »

FxbyV wrote: March 9th, 2021, 12:00 pm So basically I want to make it possible to change the icon of every app in my custom taskbar I made by drag dropping the image onto it
I already made that drag dropping part on the first app but my problem is that this isnt getting saved.
( Ignore my grammar please:) )

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
RightMouseUpAction=[]

;===================================================================================================================;

[Metadata]
Name=CleanOS
Author=FxbyV
Information=
Version=
License=

;===================================================================================================================;

[DragNDrop]
Measure=Plugin
Plugin=Drag&Drop
Action=Path
OnDropAction=[!HideMeter MeterText][!UpdateMeter Image][!Redraw][!Log $File$]

;===================================================================================================================;

[Variables]

;===================================================================================================================;

image1= microsoft windows
image2= smarthome
image3= discord
image4= ubisoft play
image5= steam
image6= google chrome
image7= minecraft
image8= adobe photoshop
image9= netflix
image10= calculator
image11= files
image12= adobe after effects

;===================================================================================================================;

prog1= openstartmenu
prog2= 
prog3= 
prog4= 
prog5= 
prog6= 
prog7= 
prog8= 
prog9= 
prog10= 
prog11= 
prog12= 

;===================================================================================================================;

[Variables]
color=191919
taskbarsize= 800

;===================================================================================================================;

[Taskbar]
Meter=Shape
Shape=Rectangle 0,0,800,75,20,20 | Fill Color 9c9c9c | StrokeWidth 0

;MouseOverAction= [!SetOption #CURRENTSECTION# Y 0] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
;MouseLeaveAction= [!SetOption #CURRENTSECTION# Y +73] [!UpdateMeter #CURRENTSECTION#] [!Redraw]

;===================================================================================================================;

[1]
Meter=Image
MeasureName=DragNDrop
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog1#]
MouseOverAction=[!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X= 2r
Y= 3r

[2]
Meter=Image
ImageName=#@#image\#image2#
LeftMouseDoubleClickAction=[!ToggleConfig "CleanOS\App Container - 1" "App Container - 1.ini"]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[3]
Meter=Image
ImageName=#@#image\#image3#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog3#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[4]
Meter=Image
ImageName=#@#image\#image4#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog4#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[5]
Meter=Image
ImageName=#@#image\#image5#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog5#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[6]
Meter=Image
ImageName=#@#image\#image6#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog6#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[7]
Meter=Image
ImageName=#@#image\#image7#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog7#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[8]
Meter=Image
ImageName=#@#image\#image8#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog8#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[9]
Meter=Image
ImageName=#@#image\#image9#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog9#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[10]
Meter=Image
ImageName=#@#image\#image10#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog10#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[11]
Meter=Image
ImageName=#@#image\#image11#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog11#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[12]
Meter=Image
ImageName=#@#image\#image12#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog12#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

;===================================================================================================================;

Code: Select all

[DragNDrop]
......
OnDropAction=[!HideMeter MeterText][!UpdateMeter Image][!Redraw][!Log $File$]
So I didn't found any meter named "MeterText", as well as named "Image". And the file path you get is only loged once, doesn't it? It surely cannot be saved. If you want to save it, use "!WriteKeyValue" instead.
FxbyV
Posts: 7
Joined: March 8th, 2021, 11:56 pm

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by FxbyV »

Setsukka wrote: March 9th, 2021, 3:05 pm

Code: Select all

[DragNDrop]
......
OnDropAction=[!HideMeter MeterText][!UpdateMeter Image][!Redraw][!Log $File$]
Yeah I found that problem later too I had that fixed in a previous version of this skin but that got deleted smh.

Also thanks for the tipp I will try that.
FxbyV
Posts: 7
Joined: March 8th, 2021, 11:56 pm

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by FxbyV »

Setsukka wrote: March 9th, 2021, 3:05 pm

Code: Select all

[DragNDrop]
......
OnDropAction=[!HideMeter MeterText][!UpdateMeter Image][!Redraw][!Log $File$]
And the file path you get is only loged once, doesn't it? It surely cannot be saved. If you want to save it, use "!WriteKeyValue" instead.
Can you please write a little example? I found a doc section about that (https://docs.rainmeter.net/manual/bangs/) but I havent seen anything about how to do that with a picture

Thanks:)
FxbyV
Posts: 7
Joined: March 8th, 2021, 11:56 pm

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by FxbyV »

Setsukka wrote: March 9th, 2021, 3:05 pm

Code: Select all

[DragNDrop]
......
OnDropAction=[!HideMeter MeterText][!UpdateMeter Image][!Redraw][!Log $File$]
So I didn't found any meter named "MeterText", as well as named "Image". And the file path you get is only loged once, doesn't it? It surely cannot be saved. If you want to save it, use "!WriteKeyValue" instead.
So I worked on it a little bit: The drag and drop funktion now works but the saving still doesnt.

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
RightMouseUpAction=[]

;===================================================================================================================;

[Metadata]
Name=CleanOS
Author=FxbyV
Information=
Version=
License=

;===================================================================================================================;

[Variables]

;===================================================================================================================;

image1= missing
image2= smarthome
image3= discord
image4= ubisoft play
image5= steam
image6= google chrome
image7= minecraft
image8= adobe photoshop
image9= netflix
image10= calculator
image11= files
image12= adobe after effects

;===================================================================================================================;

prog1= openstartmenu
prog2= 
prog3= 
prog4= 
prog5= 
prog6= 
prog7= 
prog8= 
prog9= 
prog10= 
prog11= 
prog12= 

;===================================================================================================================;

[Variables]
color=191919
taskbarsize= 800

;===================================================================================================================;

[Taskbar]
Meter=Shape
Shape=Rectangle 0,0,800,75,20,20 | Fill Color 9c9c9c | StrokeWidth 0

;MouseOverAction= [!SetOption #CURRENTSECTION# Y 0] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
;MouseLeaveAction= [!SetOption #CURRENTSECTION# Y +73] [!UpdateMeter #CURRENTSECTION#] [!Redraw]

;===================================================================================================================;

[DragNDrop]
Measure=Plugin
Plugin=Drag&Drop
Action=Path
OnDropAction=[!HideMeter Spaceholer][!UpdateMeter 1][!Redraw][!WriteKeyValue ??? ??? $File$]
; ??? = Tested ideas that could work but didnt work


[1]
Meter=Image
MeasureName=DragNDrop
LeftMouseDoubleClickAction=[]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X= 2r


[Spaceholer]
Meter=Image
ImageName=#@#image\#image1#
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X= 2r
Y= 3r

;===================================================================================================================;

[2]
Meter=Image
ImageName=#@#image\#image2#
LeftMouseDoubleClickAction=[!ToggleConfig "CleanOS\App Container - 1" "App Container - 1.ini"]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[3]
Meter=Image
ImageName=#@#image\#image3#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog3#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[4]
Meter=Image
ImageName=#@#image\#image4#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog4#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[5]
Meter=Image
ImageName=#@#image\#image5#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog5#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[6]
Meter=Image
ImageName=#@#image\#image6#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog6#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[7]
Meter=Image
ImageName=#@#image\#image7#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog7#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[8]
Meter=Image
ImageName=#@#image\#image8#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog8#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[9]
Meter=Image
ImageName=#@#image\#image9#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog9#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[10]
Meter=Image
ImageName=#@#image\#image10#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog10#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[11]
Meter=Image
ImageName=#@#image\#image11#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog11#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

[12]
Meter=Image
ImageName=#@#image\#image12#
LeftMouseDoubleClickAction=!Execute [#@#shortcuts\#prog12#]
MouseOverAction= [!SetOption #CURRENTSECTION# W 72] [!SetOption #CURRENTSECTION# H 72] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# W 70] [!SetOption #CURRENTSECTION# H 70] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
W= 70
H= 70
X=66r
Y= 0r

;===================================================================================================================;
User avatar
Setsukka
Posts: 19
Joined: March 20th, 2018, 9:53 am
Location: China

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by Setsukka »

FxbyV wrote: March 9th, 2021, 4:59 pm So I worked on it a little bit: The drag and drop funktion now works but the saving still doesnt.

Code: Select all

Codes skip.
You should re-organize the whole OnDropAction instruction, rather than only replace some single key words.
Drop Test.rar
By the way, for an image, opening a system dialog and choosing it may be a better way to link the image onto the skin. The drop link method is more suitable for linking a program. I don't know what kind of skin you are working on, but if a launcher skin, :ThinkingBig
Drop Link (Saving)_1.2.0.1.rmskin
You do not have the required permissions to view the files attached to this post.
FxbyV
Posts: 7
Joined: March 8th, 2021, 11:56 pm

Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!

Post by FxbyV »

Setsukka wrote: March 10th, 2021, 2:33 am You should re-organize the whole OnDropAction instruction, rather than only replace some single key words.
Drop Test.rar

By the way, for an image, opening a system dialog and choosing it may be a better way to link the image onto the skin. The drop link method is more suitable for linking a program. I don't know what kind of skin you are working on, but if a launcher skin, :ThinkingBig
Drop Link (Saving)_1.2.0.1.rmskin

Thank you for your help I got it working now :)