I'm trying to access the Windows user name from inside FlexScript.
Either outputs of 'echo %username%' or 'whoami' would work for me.
I've tried to use runprogram("whoami") ; which returned a success code; but how do I retrieve the output of the command ?
Is there a simpler method ? Would the model already have a node with that info somewhere ?