Open Recycle Bin

I want a button to open the recycle bin. For the life of me, I can't find or figure out the command to do so. I see it's listed as a predefined Go category command, but without the syntax. I've also searched the forum; no luck.

I could drag the recycle bit to a toolbar, which creates the button and a registry reference, but I'm sure there's simple syntax I'm missing.

Appreciate any help!

Go /trash

Button with:

  1. Go CURRENT NEWTAB
  2. Go /trash

This does the same : Go /trash NEWTAB=findexisting

Furthermore, here's a button that will open the recycle bin in a new tab with a left click or empty it quietly with a right click.

<?xml version="1.0"?>
<button backcol="none" display="icon" label_pos="right" textcol="none" type="three_button">
	<label>Recycle Bin</label>
	<icon1>#default:gotrash</icon1>
	<button backcol="none" display="both" textcol="none">
		<label>Recycle Bin</label>
		<tip>Recycle Bin</tip>
		<icon1>#default:gotrash</icon1>
		<function type="normal">
			<instruction>Go /trash NEWTAB=findexisting</instruction>
		</function>
	</button>
	<button backcol="none" display="both" textcol="none">
		<label>Empty Recycle Bin</label>
		<tip>Empty the Recycle Bin</tip>
		<icon1>#default:gotrash</icon1>
		<function type="normal">
			<instruction>DELETE EMPTYRECYCLE/O</instruction>
		</function>
	</button>
</button>

Forgot the alias... Thank you both!

1 Like