Quantcast
Channel: FireShot - Full webpage screenshot tool support forum
Viewing all articles
Browse latest Browse all 2528

jamespgilbert: Help saving file with FireShot API

$
0
0
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); [/code] 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"); [/code] 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?

Viewing all articles
Browse latest Browse all 2528

Trending Articles