Is it possible to write my own Java classes and use them from within a script? For example, is there a directory in which I can put my JAR and then via "import" statement use those classes from within the script?
Yes, just be sure to get some of the nitty-gritty details correct, such as the class definitions (duh) and restarting SS after putting the JAR in there. If you're doing imports from within your custom classes, I'd also make sure that Java knows how to find those imports, wherever they are. I haven't played with many of my own custom classes before, so I'm not familiar with the subtle pitfalls involved in the process.
Sure thing-- Just place your
Sure thing-- Just place your compiled JAR file in .../screen-scraper_directory/lib/ext/
Be sure to restart screen-scraper, but after that, you should be able to use normal import statements in your scripts for your custom Java classes.
I'll give it a try, but ...
Is this supported in the "Pro" version of the product (that's what I own).
Yes, just be sure to get some
Yes, just be sure to get some of the nitty-gritty details correct, such as the class definitions (duh) and restarting SS after putting the JAR in there. If you're doing imports from within your custom classes, I'd also make sure that Java knows how to find those imports, wherever they are. I haven't played with many of my own custom classes before, so I'm not familiar with the subtle pitfalls involved in the process.