Forum Discussion
Storyline - Javascript save image/screenshot
Hi,
Newish to Storyline and getting to grips with the features...
I've found the window.print() script that prints a slide... cool feature
I'd like to be able to take a screenshot of the slide so the user can save it as png or jpeg in order they can upload it to a Mahara website later.
Is there a Javascript command that can do anything that may help?
Hi Dom,
Welcome to the Heroes community! I don't know if I've seen a screenshot command in Javascript, but there are a number of community experts well versed in Java, so I hope that they'll be able to assist you. If you need anything else, please let us know!
- StephenEvansCommunity Member
Bumping this up as I just asked the same in another thread...
- MandyGalleyCommunity Member
Did anyone find an answer to this?
I wonder if Articulate have plans to add features to allow project users to print or save slides? Exporting to pdf would be useful too.
Hi Mandy,
We don't share a product road map or anything similar - but you're welcome to share your thoughts and ideas in the form of a feature request as those go directly to our product development team for review.
- NikkiBerryCommunity Member
Hi there - was there ever an answer to this?
Hi Nikki,
We have the print results button still as a part of a Results slide but there isn't a function built in to print any slide. The majority of folks continue to use the Javascript element to print an individual slide.
- TramTruongCommunity Member
Hi Ashley, can you advise me to where I can find the script to print an individual slide? Thanks!
Hi Tram! There are lots of folks in this community who are more Java-savvy than me, but I did want to point you to these Javascript Best Practices and Examples. One of the examples listed there is the script for Print current slide (HTML5 only):
window.print();
See how Owen Holt uses this simple code to creatively print any slide from a button on the course player.
The simple code above prints the current slide and the Storyline player. If you want to print the slide content only, not the Storyline player, see this JavaScript code from Brian Batt.
I hope that helps!
- RouaALCommunity Member
Hi everyone, just pointing out the "save" javascript question. Still didn't figure it out.
Has anyone found a way to allow learners to take a snapshot/save/download the current slide option?
Thanks a lot - JamesMartin-49fCommunity Member
Bumping the thread, because that's what I do. Seriously, though. I've implemented the JS window.print(); function on a button. I'd really like a save to PDF or save to image or something similar. Anyone got a solution for that? Thanks!