The following scripts and buttons will give you a multifunction recycle bin button... (see attachments below)
Left-click goes to recycle bin
Right click empties recycle bin and updates button icon to empty recycle bin icon. (Optionally plays empty recycle bin wav file)
The TestBin script fires on OnActivateLister. It checks the state of the recycle bin and updates the button icon whenever the lister gets activated.
This script is necessary if you delete from windows explorer or other third party programs or if you empty the recyclebin from other locations other than Dopus
Bins icon set:
This is just a small icon set containing only the icons for the recycle bin
How to install:
Drag and drop the script into the scripts section in preferences.
Import the new icon set into icons in preferences
Copy and paste Recycle Bin.dcf onto a toolbar where you want the recycle bin icon displayed
Optionally edit the right-click button to play a sound file
Use the following code for your delete button:
RecycleBin.zip (29 KB)