I figure it out how i can i capture the input box and write it to .txt file on my desktop as below but if i want to add another word to the text for example
1 apple juice , 1 is entered by the user and apple juice will automatically be added to the file
--read the Text from Input Object
SInputText = Input.GetText("Input1") ??apple juice ??;
SInputText2 = Input.GetText("Input2");
--Write it to a textfile
TextFile.WriteFromString(_DesktopFolder.."\\MyFile .txt", SInputText .. "\r\n", true);
TextFile.WriteFromString(_DesktopFolder.."\\MyFile .txt", SInputText2 .. "\r\n", true);
1 apple juice , 1 is entered by the user and apple juice will automatically be added to the file
--read the Text from Input Object
SInputText = Input.GetText("Input1") ??apple juice ??;
SInputText2 = Input.GetText("Input2");
--Write it to a textfile
TextFile.WriteFromString(_DesktopFolder.."\\MyFile .txt", SInputText .. "\r\n", true);
TextFile.WriteFromString(_DesktopFolder.."\\MyFile .txt", SInputText2 .. "\r\n", true);
Comment