getInstallDir
Sting sutil.getInstallDir ( )
Description
Retrieve the file path of the screen-scraper installation.
Parameters
This method does not receive parameters.
Return Values
Returns the installation directory file path, as a string.
Change Log
Version | Description |
---|---|
5.0 | Added for all editions. |
Examples
Download to screen-scraper Directory
url = "http://www.foo.com/imgs/puppy_image.gif";
// Get installation file path
path = sutil.getInstallDir() + "images/puppy.gif";
// Download to screen-scraper directory
session.downloadFile( url, path );
// Get installation file path
path = sutil.getInstallDir() + "images/puppy.gif";
// Download to screen-scraper directory
session.downloadFile( url, path );
scraper on 07/16/2010 at 5:20 pm
- Printer-friendly version
- Login or register to post comments