RS / FRS Scanning station (export script, writing document name and document type in txt file)

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

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.