Hello All,
I am having some issues with the below script. I want to take a value from an input box and write it to a text file (stored in the same location named Config.txt).
Results: script runs however the text file does not get populated with the result from the input. Any help would be greatly appreciated.
#include <File.au3>
Global $sIniFile = @ScriptDir & "\" & "Config.txt"
MsgBox(1,"",$sIniFile) ;Test to see if $sIniFile is working - Comes back as expected
Global $script1 = InputBox("Window Info", "Enter the name of your program identified using Auto Window Info")
_FileWriteToLine($sIniFile, 1, $script1, 1)