Page 1 of 1

Redundancy and KS for Recycle Bin

Posted: 18 Aug 2008 16:40
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

Re: Redundancy and KS for Recycle Bin

Posted: 18 Aug 2008 18:09
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;
   

Re: Redundancy and KS for Recycle Bin

Posted: 18 Aug 2008 18:35
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?

Re: Redundancy and KS for Recycle Bin

Posted: 18 Aug 2008 18:52
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?

Re: Redundancy and KS for Recycle Bin

Posted: 18 Aug 2008 18:56
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;

Re: Redundancy and KS for Recycle Bin

Posted: 18 Aug 2008 19:11
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.

Re: Redundancy and KS for Recycle Bin

Posted: 18 Aug 2008 19:16
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?

Re: Redundancy and KS for Recycle Bin

Posted: 18 Aug 2008 19:32
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.

Re: Redundancy and KS for Recycle Bin

Posted: 19 Aug 2008 12:08
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...