Redundancy and KS for Recycle Bin

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Redundancy and KS for Recycle Bin

Post by ivan »

It seems I have found a button that's completely redundant within a XY window. Here's a screen:
Image

Under which circumstance(s) that button isn't greyed out? :?

Also, I want to assign a KS to prompt for emptying of Recycle Bin. How can I do that? Thank you
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Redundancy and KS for Recycle Bin

Post by serendipity »

ivan wrote:Also, I want to assign a KS to prompt for emptying of Recycle Bin. How can I do that? Thank you
assign ks to this script:

Code: Select all

msg "Empty recycle bin?", 1; 
   //ID for empty recycle bin
   #642;
   //Status message
   status Recycle bin is now empty!, ready;
   

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Re: Redundancy and KS for Recycle Bin

Post by ivan »

Thanks serendepity. A little hiccup: using your script and assigning it to KS adds an extra step of asking to empty the Recycle Bin. How can we shorten it so it goes straight for #642?
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

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

Re: Redundancy and KS for Recycle Bin

Post by admin »

ivan wrote:It seems I have found a button that's completely redundant within a XY window. Here's a screen:
Image

Under which circumstance(s) that button isn't greyed out? :?
Never. Yep, might be an idea to remove it.
ivan wrote:Also, I want to assign a KS to prompt for emptying of Recycle Bin. How can I do that? Thank you
Use CKS. Where's the problem?

eurytos
Posts: 200
Joined: 29 Jan 2008 15:53

Re: Redundancy and KS for Recycle Bin

Post by eurytos »

ivan wrote:Thanks serendepity. A little hiccup: using your script and assigning it to KS adds an extra step of asking to empty the Recycle Bin. How can we shorten it so it goes straight for #642?

you should be able to just use:

//ID for empty recycle bin
#642;

for the shortcut.

or this if you still want the status message:
//ID for empty recycle bin
#642;
//Status message
status Recycle bin is now empty!, ready;

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Redundancy and KS for Recycle Bin

Post by serendipity »

Yep, like eurytos said a simple #642 would do. But I thought you needed a "prompt" before the delete which is why I included the first line.

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

Re: Redundancy and KS for Recycle Bin

Post by admin »

serendipity wrote:Yep, like eurytos said a simple #642 would do. But I thought you needed a "prompt" before the delete which is why I included the first line.
I don't get why you use scripting for this. :? Why not simply use CKS?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Redundancy and KS for Recycle Bin

Post by serendipity »

admin wrote:
serendipity wrote:Yep, like eurytos said a simple #642 would do. But I thought you needed a "prompt" before the delete which is why I included the first line.
I don't get why you use scripting for this. :? Why not simply use CKS?
Actually this is what confused me at first, I thought Ivan needed something different from the CKS.

@Ivan:
You can achieve the same by going to Tools> Custom Keyboard Shortcuts and assign shortcut to Empty recycle bin which is under tools category.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Re: Redundancy and KS for Recycle Bin

Post by ivan »

Thank you everyone. I was able to set up a CKS and now all is fine. Let's just hope that Recycle Bin will be integrated into XY soon...
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

Post Reply