Using 25.80 on a Win10 PC.
I tried a forum search on "recycle bin" and look at the first two of the 98 pages of hits, so I apologize if this has been asked/answered before.
I have a custom toolbar button for the recycle bin.
When I click it a new tab opens with the contents of the recycle bin. I then select all the files and right-click delete. The files are deleted from the recycle bin as expected. However, the stock recycle bin on my desktop does not change to the "empty" icon. When I open the desktop bin, it is indeed empty. If the bin contains files and I empty it from the desktop icon, the icon changes to "empty."
I would assume XY would also cause the icon to change to empty, but it doesn't. I would also assume that if other users were seeing the same behavior, it would've been reported.
I just tried it with a fresh XY and the icon behaves as expected.
Ideas? Suggestions?
Thanks
Desktop Recycle Bin Doesn't "Empty"
Re: Desktop Recycle Bin Doesn't "Empty"
Bumped for visibility
Re: Desktop Recycle Bin Doesn't "Empty"
Selecting all the files in the RB and deleting them probably wouldn't reliably send out the required windows message that alerts apps/shell that the RB has been emptied, if you use something like #642 instead, you may have better results.
I personally don't use the RB, but a difference between fresh and your conf is possibly CustomCopy being enabled, or x64 ctx menu.
I personally don't use the RB, but a difference between fresh and your conf is possibly CustomCopy being enabled, or x64 ctx menu.
-
- Posts: 224
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Desktop Recycle Bin Doesn't "Empty"
hi! i am using #642; and it properly empties and displays the correct icon state on the Desktop; however, the problem i have is with the icon display on the XY toolbar. i always shows it as full, regardless of the Desktop icon state (full or empty).
i am assuming it is a problem with my CTB, do you see anything wrong here ? when clicked, it works, it just never updates the display : should i be using a different entry in the Icon field ?
i am assuming it is a problem with my CTB, do you see anything wrong here ? when clicked, it works, it just never updates the display : should i be using a different entry in the Icon field ?
Re: Desktop Recycle Bin Doesn't "Empty"
Thank you both!
Using #642; empties the bin and refreshes the icon.
Perhaps this will require a script (I've yet to dive into XY's scripting) but is there a way to click the recycle bin icon on the toolbar, have XY go to the bin, and then once I've looked at what's in there execute #642 to empty the bin?
Thanks again for getting the initial issue resolved.
Using #642; empties the bin and refreshes the icon.
Perhaps this will require a script (I've yet to dive into XY's scripting) but is there a way to click the recycle bin icon on the toolbar, have XY go to the bin, and then once I've looked at what's in there execute #642 to empty the bin?
Thanks again for getting the initial issue resolved.
Re: Desktop Recycle Bin Doesn't "Empty"
Custom event actions - Changing Locations - After browsing a folder
The variable to use in such a script is:
The variable to use in such a script is:
<oldpath>
...One of my scripts helped you out? Please donate via Paypal
Re: Desktop Recycle Bin Doesn't "Empty"
Thanks highend. You've given me the start. Now to work though the scripting section of the PDF help file. Be prepared for follow-up questions. (Me being pessimistic on my attempt.)
Re: Desktop Recycle Bin Doesn't "Empty"
It's a simple if check followed by a command id execution if true...
One of my scripts helped you out? Please donate via Paypal
Re: Desktop Recycle Bin Doesn't "Empty"
@GreetingsFromPoland: viewtopic.php?p=160018#p160018
Re: Desktop Recycle Bin Doesn't "Empty"
After trying to read through some of the scripting documentation, I've come up with an easier solution until I'm ready to tackle scripting.
I've edited the CTB so that
On left-click = goto "%recycler%"
On middle-click = #642;
I recognize that this is a two-step process, but it gives me time to look at the bin contents before emptying the whole thing.
Thanks to all who have commented and offered suggestions.
I've edited the CTB so that
On left-click = goto "%recycler%"
On middle-click = #642;
I recognize that this is a two-step process, but it gives me time to look at the bin contents before emptying the whole thing.
Thanks to all who have commented and offered suggestions.