Feature Requests

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

User avatar
Thracx
Silver Member
Silver Member
Posts: 263
Joined: 2004 Nov 05, 19:33

Post by Thracx »

nikos wrote:you can define two "layouts" (they include all the registry options), one with hidden files enabled and another with hidden off. Switching between the 2 would just be a single keystroke if you assign a keyboard shortcut  to said layouts. A minor inconvenience will be the extra window
Yeah, thanks for the workaround..  I'll try that if I can't get a script to do the menu work for me, but do you think you'll add a user command / toolbar option / windows message to do a quick toggle, perhaps in the next version of xplorer2?

I have a feeling a script to do the menu work quickly would work, if anyone is listening who knows vbs, let me know!
-Thracx

"Man wants to know, and when he ceases to do so, he is no longer a man."
-Fridtjof Nansen
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

there's no command to "switch pane tiling" so no script will help you
but if you assign a keyboard shortcut to the  layouts  as  i suggested (Window | Organize) you won't need any vbs
User avatar
Thracx
Silver Member
Silver Member
Posts: 263
Joined: 2004 Nov 05, 19:33

Post by Thracx »

nikos wrote:there's no command to "switch pane tiling" so no script will help you
but if you assign a keyboard shortcut to the  layouts  as  i suggested (Window | Organize) you won't need any vbs
I don't really know what "switch pane tiling" is or what you were getting at, sorry, but that's probably because I wasn't clear - I haven't done any of this work but I know there are scripts/etc that can control a GUI interface which could be used to automate actually clicking Tools -> Options...etc.  I am using your workaround for now (whch means keeping the duplicate layout up-to-date) but my point was that I would prefer if switching the option in the current window could be made faster (and that I wouldn't mind learning whatever techniques would be used to do that GUI control since I don't know them :) ).

Thanks for your help again nikos!
-Thracx

"Man wants to know, and when he ceases to do so, he is no longer a man."
-Fridtjof Nansen
gkarasik
Member
Member
Posts: 64
Joined: 2014 Mar 25, 14:54

Re: Feature Requests

Post by gkarasik »

Hi,

I would like to be able to set a tag on a particular direcory so that it requires a special key combination to delete it. In my imagination, if I tried to delete it, I would get a prompt that says "USE CTRL-ALT-ESC to Delete This Folder" or even "Special Key Combination required." This wouldn't have to work outside of Xplorer2, so I'm thinking it wouldn't necessarily have to involve the OS.
GaryK
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Re: Feature Requests

Post by nikos »

you can do that by altering the security settings
gkarasik
Member
Member
Posts: 64
Joined: 2014 Mar 25, 14:54

Re: Feature Requests

Post by gkarasik »

How? Any security I set will affect writes as well as deletions, and that is not what I'm looking for. I simply want a deletion-specific warning prompt.
GaryK
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Re: Feature Requests

Post by nikos »

sorry I don't know how to do this
Robert2
Gold Member
Gold Member
Posts: 702
Joined: 2004 Jun 17, 15:39

Re: Feature Requests

Post by Robert2 »

gkarasik
Member
Member
Posts: 64
Joined: 2014 Mar 25, 14:54

Re: Feature Requests

Post by gkarasik »

nikos wrote: 2025 Mar 07, 07:22 sorry I don't know how to do this
You're a genius. You'll think of something.
GaryK
gkarasik
Member
Member
Posts: 64
Joined: 2014 Mar 25, 14:54

Re: Feature Requests

Post by gkarasik »

Robert2 wrote: 2025 Mar 07, 10:25 Have a look at How to prevent a folder to be deleted in Windows - Super User
HTH
Thanks Robert. Something to think about.

Edit: Robert's URL led me to this: I created a small txt file, called LockFile, in C:\Temp, then removed all permissions so that it's undeletable. (I can readd permissions should I ever want to delete it.) That undeletable file prevents the deletion of C:\Temp, so a solution turned out to be easier than I imagined (assuming there aren't any unintended consequences that'll bite me down the road; with Microsoft you never know). Xplorer2 doesn't particularly like it--if I try to delete the folder, Xplorer2 produces a dialog box that says, "Recycling"--but I can use Task Manager to end that. I don't think I'll be doing it that often.

Edit edit: Robust Deletion (Trash) deletes C:\Temp regardless of the "undeletable" LockFile.Txt. Back to square one.
GaryK
gkarasik
Member
Member
Posts: 64
Joined: 2014 Mar 25, 14:54

Re: Feature Requests

Post by gkarasik »

nikos wrote: 2025 Mar 07, 07:22 sorry I don't know how to do this
Attempting a Robust Deletion triggers a "Confirm deletion" dialog that offers a "Confirm read-only, cloud and system items." If I check that AND set the appropriate permissions on a file in C:\Temp, I can't delete the file of directory. But that choice is not sticky between Xplorer2 sessions. Is there a way to make those choices sticky?
GaryK
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Re: Feature Requests

Post by nikos »

if you are saving settings on exit, robust delete tickboxes will also be remembered... are you saving settings on exit? CHeck your options
gkarasik
Member
Member
Posts: 64
Joined: 2014 Mar 25, 14:54

Re: Feature Requests

Post by gkarasik »

One step forward, one step back.

It is set to save settings, but it wasn't saving that setting. I've figured out why not, and it's saving that seting now. The problem was that I created a shortcut that always opened in C:\Temp by modifhing the default Xplorer2 shortcut. I put C:\Temp in the Target with no Start in: entry. That worked for always opening in C:'Temp but was mis-configured for saving the "Confirm deletion" setting. I have a shortut to C:\Temp correclty configured now, and it's saving that setting.

Unfortunately, it's still not doing what I need. It's true that when I try to Robust Delete the C:\Temp directory, I'm now presented with a "Confirm deletion" dialog with the "Confirm read-only, cloud, and system items" checked, but although it won't delete the C:\Temp directory or the Read-only file witin, it still deletes all the other files in C:\Temp. Of course that--losing those other files in C:\Temp--is what I'm trying to avoid. Very frustrating.

For anyone who wants to make it hard to delete a directory even with Robust Delete, you have to do 4 things:

1) Create a text file, put it into the directory you want to make hard to delete, then mark it as Read-only.
2) Set it to not inherit permissions (which strips it of any users).
3) Attempt to Robust Delete that file and in the ensuing "Confirm deletion" dialong, check "Confirm read-only, cloud, and system items," click Delete, then No. Xplorer2 will remember that setting.
4) Attempt to Robust Delete the directory itself and in the "Confirm deletion" dialong, check "Confirm read-only, cloud, and system items," click Delete, then No.Xplorer2 2ill remember that setting.

Be aware that although this will protect the directory and the read-only file, it won't save the directory's contents from a Robuts Delete.
GaryK