Recycle Bin Button With Status

I removed the offending script and installed tbone's script and I can report that it works perfectly. No errors show anymore and the script appears on the script box as it should. Even better in fact, because now I can use the delete key on my keyboard and the icon shows the change where before it didn't work. Thank you. It might not seem important, but I use Dopus every day and I really want all aspects of Dopus to work perfectly and IT DOES! I suggest that you sir, (tbone) might consider repacking the original download which includes the bin icons. Further, I suggest that the forum administrator delete this entire post so that tbone can add the revision to a new one without all the BS and mistakes. Forgive me if I'm taking this too far, but while adding this script is a simple change to make to the program, I find it useful and interesting. All this discussion is undoubtedly discouraging for the casual user who might want to give it a go. Cheers! :thumbsup:

Since this thread and content seems abandoned, overhauled and refined versions of the RecycleBin button, belonging script and iconset have been uploaded (in the german forum this time). RecycleBin fans should take a look, if german is hard to read for you, try the auto-translated version at the bottom. Thanks! o)


https://www.haage-partner.de/forum/viewtopic.php?f=45&p=22730

------ (not french, but english colors?! o)
https://translate.google.de/translate?act=url&hl=de&ie=UTF8&sl=de&tl=en&u=https://www.haage-partner.de/forum/viewtopic.php%3Ff%3D45%26p%3D22730&sandbox=0&usg=ALkJrhjPveNx6vQQmGDdivYVHE-IOwI-DA

I've been using this script for a while, but I've grown increasingly frustrated with how unresponsive it is. Especially if there's a lot of files in the recycle bin, it may take 3 or more attempts for it to launch the "empty recycle bin" dialog. But other times it doesn't seem to work regardless.

I'm not finding a more up to date version of a script like this here, and unfortunately the thread @tbone linked is gone.

Is there a simple modern way to do this? I know Leo posted a simple recycle bin button in 2019, but it doesn't have the functionality to enter the recycle bin, which I like to have.

The command to go to the recycle bin is simply go /trash

You can use that with the @icon line in my button from the other thread, if you want the same icon behavior but clicks to take you into the recycle bin instead of empty it.

Or use a three-button to go into the recycle bin on left click and empty it on right click, if that's what you want.

Oh, that's simple enough. Thanks. Unfortunately I guess it loses the dynamic icon, but I can live with it.

If you want a dynamic trashcan icon with a single button that can both empty the recycle bin and go to the recycle bin, @keydown is your friend. Try something like this:

Set button image to full trashcan icon of choice

@keydown:none
@icon:[insert empty recycle bin image path here]
@ifset:RECYCLEBINEMPTY
@confirm The recycle bin is empty!
@ifset:else
Delete EMPTYRECYCLE
@keydown:Ctrl
Go /trash
1 Like

You can have both, as I said:

You can use that with the @icon line in my button from the other thread, if you want the same icon behavior but clicks to take you into the recycle bin instead of empty it.

I'm confused, sorry. We're talking about a three button layout, yes? Where left click clears recycle bin and right click goes to recycle bin (or vice versa). I'm not seeing the way to do the dynamic icon in this situation. Am I missing something? I thought according to this thread you couldn't: Dynamic icon for three button

Maybe not as a three-button, in that case. But you could go with the @keydown version Chuck suggested. Depending on exactly what you want, which I'm not sure of.


Not sure if I should make my own post for this but here is just a very slight upgrade on Leo's original. Basically it displays your bin status, and if you click on the bin instead of emptying it, it opens the bin within dopus instead of windows explorer. Then if you click the arrow on the side of the button the option within will force empty the bin.

Recycle_Live_Status_Menu_With_View_and_Delete.dcf (971 Bytes)