Download

Editor Widget Utility-query EditableTextBox contents

I’m trying to build a UI widget where other artists can paste text into a text box and run a python script.

(The script has already been rigorously tested with the outputLog, just trying simplify the process for other artists and reduce steps/user error)

When widget button is pressed, the EditableTextBox contents need to be cast as a variable/argument for execution of a python script

OnClicked–>…]->ExecutePythonCommand

python command:

textInput= get the text from the text box
import myModule
myModule.runThisProcedure(textInput)

I found blueprint nodes to append strings together, but they only seem to acquire the name of the text box, not the contents of the text box. Any suggestions?

Thanks