»User:
»Password:
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.

Code:


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


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:
Code:


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 580
Drag and Drop to Gmail?
1 548
How to disable FireShot footer on PDF saves
2 594
Saving to PDF & Clipboard at the same time
5 1236
Error: You have specified an invalid e-mail address
1 605
I can't print a nice browser page
1 541
How to: Delayed capture?
7 580
FireShot Pro for Firefox No Longer Automatically Exits After Saving Screenshot
2 578
File Saving Location / Naming Options for Batch Mode
1 560
Feature request
2 667