It is currently June 26th, 2019, 3:00 pm

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
theimmersion
Posts: 53
Joined: November 27th, 2016, 1:51 pm

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

theimmersion » September 11th, 2017, 8:44 pm

Bump Please? Can the plugin author please take a look at the issues im having/found within this plugin? :oops:
User avatar
theAzack9
Developer
Posts: 520
Joined: March 2nd, 2016, 6:23 pm

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

theAzack9 » September 13th, 2017, 8:43 am

theimmersion wrote:Bump Please? Can the plugin author please take a look at the issues im having/found within this plugin? :oops:
Sorry for not coming back to you earlier...

The current state of the plugin is pretty buggy and i am working on a better version, so i would suggest you waiting until then.
I cannot give any estimation sadly as i have other projects that takes priority currently.

Sorry...
User avatar
theimmersion
Posts: 53
Joined: November 27th, 2016, 1:51 pm

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

theimmersion » September 13th, 2017, 5:22 pm

No problem! I just wanted to know if your aware of the issues and if there are plans to fix it. Because theres no substitude for this plugin, no workaround, no simulating or hacking a drag&drop feature. Only your plugin so far and rainmeter is really lacking that functionality. Well,good luck and hope it will be soon. Not really a patient guy. xD
User avatar
kami
Posts: 39
Joined: July 3rd, 2010, 10:47 am
Location: Canosa di Puglia, Italy

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

kami » March 29th, 2018, 1:27 am

I'm having issues with one of your example skins: this is one of those you posted to show how the plugin works.

Code: Select all

[DragNDropParent]
Measure=Plugin
Plugin=Drag&Drop

[DragNDropChild1]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDropParent
Bounds=0,0,100,200
Action=Path
OnDropAction=[!Log "You dropped a file in the first child!"]

[DragNDropChild2]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDropParent
Bounds=DropMeter2
Action=Path
OnDropAction=[!Log "You dropped a file in the secound child!"]

[DropMeter1]
Meter=Image
W=100
H=200
SolidColor=255,255,255

[DropMeter2]
Meter=Image
X=200
W=100
H=200
SolidColor=255,255,255
When i drag an icon on the "first child" i can see two entries in the log: the first one is saying i am dropping the icon on the first child but there is also another entry which says that i'm dropping the icon on the second child.
I think there is something wrong with that because if i drag an icon on one meter linked to a specific measure, all the measures which carry any other plugin action defined in the skin will be called. What i mean is calling an action is equivalent to calling all the actions in the same config file...and it just doesn't make sense to me.
It's practically impossible to create different meters with different drop actions (for example one meter with a delete action and another one with a move action, just next to the first meter).
Am i getting anything wrong? How can i have different meters with different actions?

These are the info about my Rainmeter app
4.2.0 beta r3029 64-bit (Feb 8 2018)
Windows 10 Pro 64-bit (build 16299)
flauros6436
Posts: 2
Joined: December 28th, 2018, 8:13 pm

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

flauros6436 » December 28th, 2018, 8:21 pm

Hello, i realize its been a while but im having trouble and since this is the only way to implement drag&drop there is, id appreciate any help.
i made a recycle bin and i can only drop 1 file at the time with this plugin, ive tried with "ProcessAllFiles=1" but it didnt work, is there any way to fix this?

here is my code

Code: Select all

[Rainmeter]
Update=1000


[BinSize]
Measure=Plugin
Plugin=RecycleManager
RecycleType=Size

[BinItem]
Measure=Plugin
Plugin=RecycleManager
RecycleType=Count

[MeasureBinSize]
Measure=RecycleManager
RecycleType=Size
UpdateDivider=5


[Drag&Drop]
Measure=Plugin
Plugin=Drag&Drop
ProcessAllFiles=1
Action=Delete
Silent=1
OnDroppedAction=[!Update][!Redraw]
DynamicVariables=1



[IMG1]
Meter=Image
ImageName=#ROOTCONFIGPATH#@Resources\Images\bin.png
W=234
H=195
X=75
Y=5
LeftMouseUpAction=!Execute [shell:RecycleBinFolder]
RightMouseUpAction=[!CommandMeasure MeasureBinSize EmptyBin][!Update][!Redraw]


[TEXT]
Meter=String
X=274
Y=52
FontSize=18
FontFace=NewMedia
FontColor=255,255,255,255
StringAlign=Right
StringCase=Upper
StringStyle=Bold
AntiAlias=1
AutoScale=1
Text=Recycle Bin
TransformationMatrix=1;0.10;0;1;0;0


[Item]
Meter=String
MeasureName=BinItem
X=110
Y=25r
FontSize=16
FontFace=Quarca Norm Book
FontColor=255,255,255,255
StringAlign=Left
NumOfDecimals=0
AntiAlias=1
AutoScale=1
Text= %1Items
TransformationMatrix=1;0.10;0;1;0;0

[Size]
Meter=String
MeasureName=BinSize
X=275
Y=r
FontSize=16
FontFace=Quarca Norm Book
FontColor=255,255,255,255
StringAlign=Right
NumOfDecimals=0
AntiAlias=1
AutoScale=1
PostFix=B
TransformationMatrix=1;0.10;0;1;0;0
User avatar
StArL0rd84
Posts: 335
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

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

StArL0rd84 » March 19th, 2019, 6:47 am

Could this plugin copy something FROM rainmeter?
Example: I want to drag a line of text into notepad.
If not, then it would be a awesome addition to your plugin.
(#WorkTime# = 1 ? #Work# : ([mEnergyLoss:%] > 100 ? #SleepMode# : #Rainmeter#))
User avatar
theAzack9
Developer
Posts: 520
Joined: March 2nd, 2016, 6:23 pm

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

theAzack9 » March 19th, 2019, 2:23 pm

StArL0rd84 wrote:
March 19th, 2019, 6:47 am
Could this plugin copy something FROM rainmeter?
Example: I want to drag a line of text into notepad.
If not, then it would be a awesome addition to your plugin.
I have thought on a feature that allows you to specify the content of a drag operation from rainmeter, i might investigate it a later point...

I still want to do a overhaul of this someday
User avatar
theimmersion
Posts: 53
Joined: November 27th, 2016, 1:51 pm

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

theimmersion » March 19th, 2019, 2:29 pm

Hurry up with the overhaul. :Whistle :D
flauros6436
Posts: 2
Joined: December 28th, 2018, 8:13 pm

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

flauros6436 » March 19th, 2019, 3:06 pm

youre like the only one who is working on this so yeah, a new version would be very apreciated
User avatar
StArL0rd84
Posts: 335
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

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

StArL0rd84 » March 19th, 2019, 4:01 pm

theAzack9 wrote:
March 19th, 2019, 2:23 pm
I have thought on a feature that allows you to specify the content of a drag operation from rainmeter, i might investigate it a later point...

I still want to do a overhaul of this someday
I need it for a tool skin called RainTools, which has all the meters, measures and plugins from rainmeter documentation.
https://forum.rainmeter.net/viewtopic.php?f=27&t=31759&p=160562&hilit=Raintools#p160438
But at this point it just uses the clipboard as a intermediary.

This tool promises drag and drop when it's released. but I can't use that for my purpose.
https://forum.rainmeter.net/viewtopic.php?f=4&t=27758
(#WorkTime# = 1 ? #Work# : ([mEnergyLoss:%] > 100 ? #SleepMode# : #Rainmeter#))