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

Help saving file with FireShot API

Pages: 1
Posted:  10 Dec 2023 17:18   Last Edited By: jamespgilbert
Hi, I recently purchased fireshot pro and would like to use the API to save a file to a certain place on my computer. I have already found that I can save a file out to the place I have set in the extension settings using the file name template options by doing the following JavaScript.


var element = document.createElement("FireShotDataElement");
element.setAttribute("Entire", false);
element.setAttribute("Action", 1);
element.setAttribute("Data", "C:/Users/j/Desktop/abc.png");
var evt = document.createEvent("Events");
evt.initEvent("capturePageEvt", true, false);

I have also tried making the call with the following JavaScript, and I can hear the sound that FireShot makes and see briefly the progress dialog, however, it is not saving out my file:

FireShotAPI.savePage(false, "", "C:/Users/j/Desktop/abc.png");

Is it still possible to save to a certain place on the computer by specifying that place to a function? If so, how can I modify the first JavaScript code block above to accomplish this?
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
je n'arrive pas a faire les captures
1 402
Drag and Drop to Gmail?
1 388
How to disable FireShot footer on PDF saves
2 447
Saving to PDF & Clipboard at the same time
5 756
Error: You have specified an invalid e-mail address
1 426
I can't print a nice browser page
1 392
How to: Delayed capture?
7 432
FireShot Pro for Firefox No Longer Automatically Exits After Saving Screenshot
2 418
File Saving Location / Naming Options for Batch Mode
1 404
Feature request
2 489