Is it possible to completely suppress the enter key in a GuiXT script?

Yes indeed; all you have to do is:

// GuiXT Script

On Enter Process="return.txt"

 

// InputScript "return.txt":

Return