vbscript via command-line
I can call the Interpreted Java scripts just fine, but what is the correct way to call a script that's written in VBSCRIPT via the Command-Line?
Also- can screen-scraper be programmed to automatically trigger certain tasks based on error return codes, such as send out an email?
Regards,
ML
vbscript via command-line
Mark,
I'm glad you found an answer to your question. Please let us know if you have additional questions.
Thanks,
Scott
vbscript via command-line
Got clues from this entry and got it working again:
http://www.screen-scraper.com/forum/phpBB2/viewtopic.php?t=734&highlight=commandline
Thanks Scott!
vbscript via command-line
Mark,
The issue of the disappearing tree I'm almost certain has been fixed in the most recent alpha version. We've had issues with pieces disappearing in the GUI and have made fixes for them.
After you upgrade you should not experience that issue again.
-Scott
vbscript via command-line
Thanks for your quick response!
I now seem to be experiencing the same problem as another user:
http://www.screen-scraper.com/forum/phpBB2/viewtopic.php?t=1007&highlight=command+line
Is there any way of doing a screen dump of all the file names of my scraping sessions and script names from outside screen-scraper? The GUI shows everything is where it's supposed to be, but i'd like to confirm structural integrity via command-line. (I'm currently running the basic version but will be upgrading to pro once the process becomes stable) Please advise.
Regards,
Mark
vbscript via command-line
ML,
The approach of calling a script from the command line to start a scraping session has been deprecated since version 3.0. Instead you simply call the name of the session directly.
java -Xmx256M -jar screen-scraper.jar -s "My Scraping Session" > log\MyLog.log
However, if you prefer to call scripts using the old method you simply do so by invoking the script by name. It does not matter what language the script is written in.
The following example from Tutorial 2 demonstrates this.
http://www.screen-scraper.com/support/tutorials/tutorial2/invoking_a_scraping_session_from_a_script.php
-Scott