Shift to override Recycle Bin setting during Delete

Something is missing in Far Manager? You have a great idea that should be heared? Write here.
Locked
User avatar
Spire
Posts: 17
Joined: Tue Apr 26, 2005 4:57 pm

Shift to override Recycle Bin setting during Delete

Post by Spire » Thu May 04, 2006 11:12 am

I would find it useful if it were possible to temporarily override the Delete to Recycle Bin setting by holding down the Shift key while initiating the delete operation.

For example, if Delete to Recycle Bin is currently enabled, the user would be able to bypass the Recycle Bin by pressing Shift+F8 (or by holding down the Shift key while clicking the Delete button in the key bar).

Similarly, if the Delete to Recycle Bin is disabled, the user would be able to use the Recycle Bin for a specific delete operation by pressing Shift+F8 (or holding down Shift while clicking Delete).

User avatar
DrKnS
Posts: 32
Joined: Thu Feb 23, 2006 6:48 pm
Contact:

Post by DrKnS » Thu May 04, 2006 8:02 pm

you can bind this simple :) macros to ShiftF8:

Code: Select all

F9
End
Left
Enter
Enter
Down
Space
CtrlEnter
%result=msgbox("Delete","Do you wish to delete the file\n"+APanel.Current,0x40000);
$If(%result==1)
	F8
	Enter
	$If(Dialog)
		Enter
		$If(Dialog)
			Esc
			msgbox("Error","Some error occured",1)
			$End
		$End
	F9
	End
	Left
	Enter
	Enter
	Down
	Space
	CtrlEnter
$Else
	F9
	End
	Left
	Enter
	Enter
	Down
	Space
	CtrlEnter
$End

Joco1114
Posts: 7
Joined: Mon Jul 10, 2006 2:57 pm

Shift+F8

Post by Joco1114 » Wed Jul 12, 2006 6:08 pm

If this function would be default, I would be happy. :)

Joc

Locked