[Work in Progress] Drag&Drop trash plugin for recycle bin
Posted: March 3rd, 2015, 1:56 pm
(Sorry if in the wrong section of the forum)
So I really like the idea of rainmeter recycle bin skins, but without drag and drop it's not that useful. I didn't want to use any external tools to implement it, so I decided to write a plugin.
As mentioned, it's a work in progress, so I'll only post the code.
It works for me for quite some time, but sometimes (rarely as of now so can't even catch it, quite often before) when I close the recycle bin skin rainmeter crashes, and I can't figure out when and why that happens.
Code in C++ (VS 2013) (includes poor coding, e.g. calling Rm* functions outside of initialize and reload):
Adding this: to your skin .ini file makes it accept dropped files and puts them into recycle bin (with or without confirmation based on Confirm parameter)
Skin I use with this:
Hope someone finds it useful
I'd like to get some suggestions on how to make it finally work properly.
Can attach the plugin itself later, if needed.
UPD: If crashes occur, please report all available information
So I really like the idea of rainmeter recycle bin skins, but without drag and drop it's not that useful. I didn't want to use any external tools to implement it, so I decided to write a plugin.
As mentioned, it's a work in progress, so I'll only post the code.
It works for me for quite some time, but sometimes (rarely as of now so can't even catch it, quite often before) when I close the recycle bin skin rainmeter crashes, and I can't figure out when and why that happens.
Code in C++ (VS 2013) (includes poor coding, e.g. calling Rm* functions outside of initialize and reload):
Code: Select all
[DragDrop]
Measure=Plugin
Plugin=DragAndDrop
Confirm=FALSE
Skin I use with this:
I'd like to get some suggestions on how to make it finally work properly.
Can attach the plugin itself later, if needed.
UPD: If crashes occur, please report all available information