Page 1 of 1

User Button Fire Click

Posted: 19 Jun 2011 00:12
by jsc572
Hi,

I have a user button assigned to secure delete using SDelete command line. The script looks like below:

msg "Secure Delete 7 passes, are you absolutely sure?", 1;
openwith """C:\XYZ\SDelete\sdelete.exe"" -p 7 -s <items>", m

Now, I want to assign drop down (fire click) to that button to give me choice to choose from 3, 7, 35 passes for secure deletion. So when the user button is clicked, instead offer to delete with default 7 passes, I should see 3 drop downs to choose from. Can anyone help? Thx.

Re: User Button Fire Click

Posted: 19 Jun 2011 13:45
by Stefan
Beside the fact that one overwriting would be enough...

here an idea without much thinking, perhaps that help? :

Code: Select all

 msg "continue?",1;
     load submenu;
XY\data\Scripts\SubMenu.xys wrote:"One"
    msg "one";
"Two"
    msg "Two";
"Three"
    msg "Three";


or perhaps smtg like:

Code: Select all

msg "Secure Delete 7 passes, are you absolutely sure?", 1;
    $passes = Input(,,7);
    openwith """C:\XYZ\SDelete\sdelete.exe"" -p $passes -s <items>", m