Scraping using .bat file

Can anyone help me. I am invoking a scraping session via a .bat file. The scraping session has a number of scripts (written in vbScript) that are invoked. The .bat file calls the session, processes the first scrapeable file but then hits an error (see the text below):

Processing script: "START_SEARCH"
An error occurred while processing the script: START_SEARCH
The error message was: UnsatisfiedLinkError loading library:bsfactivescriptengine no bsfactivescriptengine in java.library.path
Processing scripts after scraping session has ended.
Scraping session "Update" finished.

Is this a limitation of scripting in vbScript?

Hi, We're more or less in the

Hi,

We're more or less in the process of deprecating support for VBScript, but, if you don't mind dealing with a few bumps in the road, it's still usable. In order to invoke a scraping session from the command line that uses VBScript you'll actually need to copy two files:

bsfactivescriptengine.dll
bsfactivescriptengine_g.dll

found inside screen-scraper's "lib" folder into the root of the directory where screen-scraper is installed (e.g., C:\Program Files\screen-scraper Professional Edition\).

Give that a try and see if it resolves the issue.

Thanks,

Todd Wilson

A big thank you

Todd

That has done the trick. I am dreading the day when vbScript and SS can't work together. I have been using the two quite happily for over 5 years now and I will struggle to learn a new language! I keep promising to teach myself PHP but vbScript is so easy for us non-programmers (I am a lawyer by trade)!

Thank you once again - and a belated happy holiday. I hope the New Year is good to you.