I never had this enabled until a few times I unknowingly locked a file by a left click and moved it somewhere I could not find. So now I have this enabled and most of the time I don't mind the stop message. However, there are times I'm engaged in heavy file maintenance, paying close attention and the stop message is a nuisance.
Is there a command I can reference and add to a toolbar button that will toggle this on/off? I could not find one in the Scripting Commands Reference.
Thanks!
Toggle "Confirm Drag and Drop"
Re: Toggle "Confirm Drag and Drop"
This is not an ideal solution , it uses restart without saving .
I do hope this is useful for you.
I do hope this is useful for you.
totmad1 (totally mad one)
-
- Posts: 188
- Joined: 04 Feb 2008 20:17
Re: Toggle "Confirm Drag and Drop"
Looks like it changes the config setting but not the in-memory setting, which may not be accessible, hence the need for a re-start
Thanks, very kind of you to take the time to write that for me!
Thanks, very kind of you to take the time to write that for me!
-
- Posts: 188
- Joined: 04 Feb 2008 20:17
Re: Toggle "Confirm Drag and Drop"
Hi Don, resurrecting this from 5 years ago and wonder, given all the modifications since then, might this now be possible?
Thanks!
Thanks!
-
- Site Admin
- Posts: 60541
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Toggle "Confirm Drag and Drop"
Next beta, not in change log.
Code: Select all
tweak("ConfirmDrop", 1); //set
tweak("ConfirmDrop", 0); //unset
tweak("ConfirmDrop", 0, 1); //toggle 0/1
tweak("ConfirmDrop"); //show status
FAQ | XY News RSS | XY Twitter
-
- Posts: 188
- Joined: 04 Feb 2008 20:17
Re: Toggle "Confirm Drag and Drop"
Your are the man, thanks!
If I set the toggle option, will there be a command I can assign to a user button?
If I set the toggle option, will there be a command I can assign to a user button?
Re: Toggle "Confirm Drag and Drop"
From "Overview of undocumented script commands" here on the forum Script Exchange section:
So you should be able to add the toggle, tweak("ConfirmDrop", 0, 1); to a CTB.
Code: Select all
tweak()
Tweaks an internal setting (a setting without config UI), and returns the old value. The change is effective immediately.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440