DJFScanProc
- 1 Minute to read
- Print
- DarkLight
- PDF
DJFScanProc
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Scan a directory for files and process a script when found
launched as DJFScanProc "path of ini file"
INI File
two forms, embedded script or referenced script
{
"company": "datajetsoftware",
"username": "admin",
"password": "",
"scanDirectory": "path to scan ends in /",
"scanExtension": "xlsx",
"processedDirectory": "path to processed files, ends in/",
"to": [
"someone@mail.com"
],
"scriptName": "StoredScriptName",
"projectName": "StoreScriptProject",
"targetProject": "NameOfProjectToCreate"
}
in the embedded form, the entire script is included
{
"company": "datajetsoftware",
"username": "admin",
"password": "",
"scanDirectory": [path]/",
"scanExtension": "xlsx",
"targetProject": "MyProject",
"processedDirectory": "[path]/",
"to": [
"someone@email.com"
],
"script": [ ]
}
In both cases, the process will override the two defined variables
%INFILE% and %OUTFILE% with the path of the scanned file and the path of the produced file.
A log will also be written to the process directory and will be emailed to everyone in the "to" list.
Was this article helpful?