I'm new to these forums, so I'm sorry if I've not put this in the correct place or followed forum rules.

I am writing a gEdit External Tools shell script.

In the 'Manage External Tools' dialogue box there is a drop down menu to choose the output.

These options are:-

Display in bottom pane
Create new document
Append to current document
Replace current document
Replace current selection
Insert at cursor position

So the script can only use one of these.

I want to be able to choose the output from the script. Is there an output variable that can be set in the script? Is what I want even possible?

I've scoured the web for a solution, but to no avail, so I've come here for help.

Thank-you in advance.