Copy link to clipboard
Copied
When extending the functionality of Microsoft Word and Excel, one can program with Visual Basic (VBA) to do some clever things. I had created a small VBA function to take a screenshot. It works well when called from Excel. And when I save it as a local .VBS file and double-click it from my desktop, it works fine.
I would like to do the same thing from Captivate.
Here's a sample of the VBS code:
Sub TakeScreenShot()
With CreateObject("Word.Basic")
.SendKeys "{prtsc}"
End With
WScript.Sleep 1000
End Sub
Call TakeScreenShot
I have two separate problems:
Questions:
Thanks, in advance.
Copy link to clipboard
Copied
Hi,
That is an interesting challenge.
Can you describe what you want to achieve? without using the technical VB description.
for example: when the learner does X, a screenshot is captured, then Y happens. I think you might overcomplicate things and we can have a workaround to achieve your goal.
Copy link to clipboard
Copied
I would like to have a button, that when clicked, would take a copy of the screen just as it is. (This would be similar to pressing WIN+PrnScr). Nothing else happens.
The only difference at this point is that the user obtained the screen copy by a clicking an object rather than having to remember a keyboard combination.
From here, I would like to extend it so that the graphical image in the Clipboard can either be:
a) pasted in an email
b) pasted into a file & saved
For now, baby steps. If I can achieve a screen shot into the clipboard with a click of an object (instead of keystrokes), that would be a great start.
Copy link to clipboard
Copied
Hi,
that makes sense. In the past, I used a script that would save a 'certificate of completion' (quiz result slide) as an image by 'printing' a pdf or saving a windows bmp (not great).
If I find the script again I will post here
Copy link to clipboard
Copied
Hope you're enjoying the holiday and not worrying about issues/requests.
That said, any update on this?