(if devx file was loaded)
and if it had Run_In_Terminal(which is small script)
then it could open a script in a terminal
window.
Here is how I did it in Bulldog finder...
Code: Select all
funcbtnType0Create8() {
echo '<button image-position="'$1'" use-stock="true" tooltip-text="'$(gettext 'Run script in terminal')'">
<input file stock="gtk-execute"></input>
<label>"'$(gettext 'Run script')'"</label>
<action>funcpath</action>
<action>/usr/local/apps/Run_In_Terminal/AppRun "$(cat "$TEMPDIR/roxpath.txt")" &</action>
</button>'
}