none
Need to append windows username to output from script in an HTA RRS feed

  • Question


  • I am trying to create a feedback form for another tool I made.  And I want he feedback link to automatically append the windows username.  I can not seem to find the way to pull this info in and flood to the correct spot

    Sub doSave()
     Dim sOtp  : sOtp  = taInput.value
     If "" <> sOtp Then
       Dim sDelim : sDelim = vbCrLf & "@@@" & Now & "@@@" & (username needs to be here)
       goFS.OpenTextFile( gsFSpec, ForAppending, True ).WriteLine sOtp & sDelim
       taInput.value = ""
     Else
       ' ...
     End If
    End Sub
    • Edited by NickWills Wednesday, November 8, 2017 1:03 AM
    • Moved by Bill_Stewart Thursday, January 25, 2018 10:08 PM Unanswerable drive-by question
    Wednesday, November 8, 2017 1:02 AM