Empty recycle bin function?

i want to make a button that empties the recycle bin when clicked. is there some kind of command that will do this? i don't see one.

oh found it: delete EMPTYRECYCLE

ok but now i am wondering if there is a way o make the button change its icon automatically based on the recycle bin being full/empty?

no one?

Sorry, I thought this was a private conversation :slight_smile:

There's no way to do the icon thing.