»User:
»Password:
Remember Me? 
FireShot - Full webpage screenshot tool support forum / FireShot Browser Extension / Premium Support

Save web site screenshot using API call

Pages: 1
Posted:  16 Sep 2016 17:00
FireShot Pro: 0.98.85
Windows 10 Pro
Chrome v.52

I have a Javascript function to save the web page when an error occurs:
        function CaptureScreen(mode) {
            var path_folder_images = "C:/images/";
            FireShotAPI.savePage(true, 'framePageCapture', 'c:\images\Test.png');
        }

But it appears to ignore the name and the path no matter how i code it.

It saves it with a filename like:
FireShot Pro Screen Capture #031 - 'GFMS WebDesktop' - localhost_52047_Default_as.png

And then it opens the file save dialog box to show where it has saved it.

1. I would just like to save a screenshot when an error appears in my program and then save it to a database. (Already have that code)
2. Can you point me to any documentation about the API calls and the proper syntax to call them.

It seems very powerful, but just need more info on how to call the API.

Thanks.
Pages: 1

 

 

This is the Premium Support area for the users who have purchased FireShot Pro or Screenshot Studio products.

Please Login or Register to see a full thread.

 

 



Recent topics Replies Views Last Poster
Error: couldn't open library sss.dll: dlopen(sss.dll, 1): image not found
12 6092
Web page saved to PDF is Blank
3 3665
Fireshot extension not capturing whole page with scrolling in Coursera course
1 2690
Not all chrome screenshots captured correctly
15 994
Fireshot not working with SVG image with xlinks
1 2635
Licence Info Lost
0 2148
Alternate of Screenshot studio in OSX
0 2016
sss.dll error 126
2 3502
Using Google Chrome Developer Tools
3 2125
No margins headers or footers on continuation pages in Fireshot captures saved as multipage PDF
1 2512