Way to remove the 'delete multiple items' dialog?

Features wanted...
Post Reply
zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Way to remove the 'delete multiple items' dialog?

Post by zridling »

Is there a way to remove or bypass this dialog when deleting many items?

Image

I have both the turn off delete confirmation option checked for both XYplorer and the Recycle Bin. And, this only displays when I use the #642 key (empty recycle bin) for either a keyboard shortcut or a script.
- Zaine Ridling, The Great Software blog

zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Post by zridling »

Or maybe I could add one more command (or a 'y' string?) to this simple CKS script:

#254;#252;#169;#642
(Select by file type; invert selection; delete files; empty recycle bin)

________________________________________________
Hang on, I'm working on it.
- Zaine Ridling, The Great Software blog

admin
Site Admin
Posts: 65050
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Oh yes, I think I should simply apply the turn off delete confirmation option to this function, right?

Objections?


EDIT: I have these flags here (see below). What about the other two, progress and sound. Should they also be disabled when turn off delete confirmation is active??

' No dialog confirming the deletion of the objects will be displayed
Const SHERB_NOCONFIRMATION = &H1
' No dialog indicating the progress will be displayed
Const SHERB_NOPROGRESSUI = &H2
' No sound will be played when the operation is complete
Const SHERB_NOSOUND = &H4

zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Post by zridling »

What about the other two, progress and sound. Should they also be disabled when turn off delete confirmation is active?
I'd prefer that, but I'll let others weigh in. This is not a big deal, but as you can see, it does reveal my extreme laziness. :-)
- Zaine Ridling, The Great Software blog

zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Post by zridling »

Thanks Don! :D
- Zaine Ridling, The Great Software blog

Post Reply