Page 1 of 1

Add button with shell command

Posted: 2016-02-22, 15:10 UTC
by _hunter
Greetings,

Is it possible to add new button with shell command "in" it?
I'd like to have a shortcut for file truncation: "> full_file_name".
Can I do this?

Best regards...

Posted: 2016-02-25, 10:05 UTC
by ghisler(Author)
Yes, add a button and set the function type to the last available, "Send system command".

The command MUST be either sh or su. The paramters can be one or more shell commands on separate lines.

You can put a * at the beginning of the parameter to show the results in a message box instead of a short "toast" message.

Posted: 2016-02-29, 13:00 UTC
by _hunter
Thanks! -- It's worked.