Bump!eclectic-tech wrote:ProcessAllFiles=1 added to the Parent measure only process the first file dropped. A !Refresh will not reset to allow further drops, only unloading/loading allows it to delete only the first file dropped again.
Did I miss something?
It is currently October 14th, 2024, 11:50 pm
Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!
-
- Rainmeter Sage
- Posts: 5540
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Developer
- Posts: 522
- 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!
Sorry, i saw this but forgot about it againeclectic-tech wrote:Bump!
It should work if you put ProcessAllFiles=1 in the MeasureDelete instead of the MeasureDnD ( i hope, or else there might be something wrong in the code again...)
-
- Developer
- Posts: 522
- 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!
Hmm, this is weird... I'll try look into it when i have the timeStArL0rd84 wrote:Getting a warning in the log:
No path specified! Please specify the destination in the option Path! will be disabled! (SkinName\Recycle\Recycle.ini - [DragNDropParent])
Just using for a recyclebin.
Here is my code:
Code: Select all
[DragNDropParent] Measure=Plugin Plugin=Drag&Drop Action=None [DragNDropChild1] Measure=Plugin Plugin=Drag&Drop Parent=DragNDropParent Bounds=0,0,323,83 Action=Delete
-
- Rainmeter Sage
- Posts: 5540
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!
Thanks! No rush... really.
I will try again with the ProcessAllFiles=1 in different parents/child measures combinations, and let you know.
I will try again with the ProcessAllFiles=1 in different parents/child measures combinations, and let you know.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 8
- Joined: March 19th, 2017, 8:14 am
Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!
ReplaceIfExists=1 does not work for me. I use Rainmeter 4.0 64-bit, Drag&Drop v3.1.0.3.
Here is my code:
I tried copying/moving two different image files and nothing. Did I do something wrong?
Here is my code:
Code: Select all
[DragNDropParent]
Measure=Plugin
Plugin=Drag&Drop
[MeasureDropIconForCurrentShortcut]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDropParent
Bounds=ShortcutDropImageHere_Background
Action=Copy
FilePath=#@#Icons
ReplaceIfExists=1
OnDropAction=[!CommandMeasure "Script" "saveCurrentShortcutIconDropped('$Name$.$Type$')"]
-
- Posts: 8
- Joined: March 19th, 2017, 8:14 am
Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!
I downloaded the code from GitHub and found a solution to above issue:Marian wrote:ReplaceIfExists=1 does not work for me. I use Rainmeter 4.0 64-bit, Drag&Drop v3.1.0.3.
Here is my code:I tried copying/moving two different image files and nothing. Did I do something wrong?Code: Select all
[DragNDropParent] Measure=Plugin Plugin=Drag&Drop [MeasureDropIconForCurrentShortcut] Measure=Plugin Plugin=Drag&Drop Parent=DragNDropParent Bounds=ShortcutDropImageHere_Background Action=Copy FilePath=#@#Icons ReplaceIfExists=1 OnDropAction=[!CommandMeasure "Script" "saveCurrentShortcutIconDropped('$Name$.$Type$')"]
ReplaceIfExists=1 replaced by OverrideExisting=1 and works fine.
Btw I found other issue:
when I have several measures enjoying the plug-in then regardless of which I use at this moment, these are executed event OnDropAction for each of them! It should not work like this.
Code:
Code: Select all
[DragNDropParent]
Measure=Plugin
Plugin=Drag&Drop
[MeasureDropIconForTrashEmpty]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDropParent
Bounds=whatever
Action=Copy
FilePath=#@#Icons
OverrideExisting=1
OnDropAction=[!CommandMeasure "Script" "saveTrashEmptyIconDropped('$Name$.$Type$')"]
DynamicVariables=1
[MeasureDropIconForTrashFull]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDropParent
Bounds=whatever
Action=Copy
FilePath=#@#Icons
OverrideExisting=1
OnDropAction=[!CommandMeasure "Script" "saveTrashFullIconDropped('$Name$.$Type$')"]
DynamicVariables=1
Any ideas to solve my issue ?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
-
- Developer
- Posts: 522
- 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!
@Marian
Seems at some point during the 3.1. upgrade things got really unstable...
I'll probably go through and fix a lot of things in the near future when i have the time.
Also, i forgot that i even have a github repository... That thing is probably pretty old by now, i'll make sure to update it when i push for 3.2
Thanks for looking into this, i'll add it to the todo-list and i'm sorry for all the struggle the bugs has cause :P
Seems at some point during the 3.1. upgrade things got really unstable...
I'll probably go through and fix a lot of things in the near future when i have the time.
Also, i forgot that i even have a github repository... That thing is probably pretty old by now, i'll make sure to update it when i push for 3.2
Thanks for looking into this, i'll add it to the todo-list and i'm sorry for all the struggle the bugs has cause :P
-
- Posts: 2
- Joined: April 26th, 2017, 6:51 pm
Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!
Hi!, Nice plugin!, I've tried to make a skin using it, but, I have a problem, I have to copy one image to a specified location, I actually solved it, but, I want to copy it with a diferent name, and I don't know how to do it, Can someone help me please?; and, I have a question, can I upload my skin to DVArt with the plugin included? I would add the rights for the creator of the plugin. Thanks!
-
- Rainmeter Sage
- Posts: 5540
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Drag&Drop[V 3.1.3] - Drag and drop functionallity in Rainmeter, now with even more fancyness!
This plugin can not rename a file.3rdTraveler wrote:Hi!, Nice plugin!, I've tried to make a skin using it, but, I have a problem, I have to copy one image to a specified location, I actually solved it, but, I want to copy it with a diferent name, and I don't know how to do it, Can someone help me please?; and, I have a question, can I upload my skin to DVArt with the plugin included? I would add the rights for the creator of the plugin. Thanks!
Copy? Yes! ... Rename? No!
I would be very leery of offering any skin using this plugin as it is right now; did you read the post above yours?
The author needs to work on several bugs when he gets time... which hasn't happened yet.
I would strongly advise NOT to use a buggy plugin in anything you want to make public.
It is fine for personal use, but to publish a buggy skin only frustrates users, and is detrimental to Rainmeter's reputation
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Developer
- Posts: 522
- 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!
While eclectic-tech already mostly answered this i thought i should just make a heads up anyways.3rdTraveler wrote:Hi!, Nice plugin!, I've tried to make a skin using it, but, I have a problem, I have to copy one image to a specified location, I actually solved it, but, I want to copy it with a diferent name, and I don't know how to do it, Can someone help me please?; and, I have a question, can I upload my skin to DVArt with the plugin included? I would add the rights for the creator of the plugin. Thanks!
While i don't think the bugs in this plugin is major i would probably advice you to wait just a little longer until i'm done with the new version. (I hope to be done around next week, it isn't really that much more to do, but i have a lot of exams coming up)
There is no and probably won't be any way to rename a copied file as that is not really what i personally want this plugin to do. I do not say that this will never happen, but i'm at least against it currently. However, it is certainly possible to do with some other tool. The OnDropAction should be executed after the file itself is moved, which means that you can use the $File$ substitution to rename the file after you copied it. (E.g using the CommandMeasure with something like "rename $File$ "MyName")
You full permission to publish a skin with this plugin attached (I added a comment under the redistributable in case anyone in the future is confused about this)
You can download the redistributable zip file and it contains both the x32 and the x64 version you need in order to bundle it with your skin.