You are viewing limited content. For full access, please sign in.

Question

Question

Command Line Options & Profile Storage Information

asked on October 24, 2014

Question 1
Weekly, we receive a hard drive that contains around 20gb of images and a corresponding .lst file. I've created a batch script to check and see if the hard drive is present, if it is, it copies the files to the local computer and to a network backup. Then it launches the Import Agent Service, which identifies the new .lst that was copied to its monitored folder, and begins processing those documents.  I'd then like to force the Import Agent Service back into a stopped state. The problem is, I can't 'guesstimate' when IA will complete its processing.  Is there a way to invoke IA via script (maybe with some specific triggers?) that will allow the batch file to halt until IA has completed its processing?  Ideally it'd work like this:

Is hard drive present?
If so, copy files to local drive.
Then, copy files to network archive.
Launch Import Agent Service.
Wait for IA to complete.
Stop Import Agent Service.
Exit Script.


Question 2:
Where on the system does IA store the profiles that you configure through its GUI?

 

Thanks in advance to ANYONE with suggestions on Q1

 

0 0

Replies

replied on October 27, 2014

To answer Q2, Import Agent stores profiles in the registry.  Please see: https://support.laserfiche.com/KB/1012528

Profile settings for both Import Agent 7 and Import Agent 8/9 are stored in the Windows Registry.

See the following list of main differences between Import Agent 7 and Import Agent 8/9 profile registry settings:

•On 32-bit computers, Import Agent 8/9 stores settings under "HKEY_LOCAL_MACHINE\SOFTWARE\Laserfiche\Import Agent 8."

•On 64-bit computers, Import Agent 8/9 stores settings under "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Laserfiche\Import Agent 8."

•Import Agent 8/9 profiles use the Laserfiche 8 token name format, %(Token) instead of $Token$.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.