Hello everyone,
I need help about writing export script in Scanning station.
I want to export document name and document type from registration parameters in txt file in the folowing structure
Document1Name [TAB] Document type
My VB script create txt file but i have problems how to take values for document name and document type and print them
Thank you forward
-----------------------
Dim TxtFile
Dim objFSO
Set objFSO = CreateObject("Scripting.FileSystemObject")
Dim Folder
Folder = "Path"
Dim FileName
Dim DocumentType
FileName = ?
Document type = ?
Set txtFile = objFSO.OpenTextFile(Folder & "\" & "test" & ".txt", 8, True, -1)
txtFile.Write Replace (FileName," - ",Chr(9)) & Chr(9)
txtFile.Write Replace ("DocumentType"," - ",Chr(9)) & Chr(9)
txtFile.WriteBlankLines 1
txtFile.Close
Comments
0 comments
Please sign in to leave a comment.