Hi!
I'm using the 'Social' plugin from armaldio which can send emails using Mandrill. There is an ability to also include an attachment, which needs to be in the form of a base64 string in the current version.
Using System->Take Snapshot and then System->On Canvas Snapshot i'm getting everything to trigger correctly; a screenshot gets taken at the right time (which i'm testing with Browser->Invoke Download so I know that part works! ) and the email plugin successfully sends me an email. The grief i'm having is just the attachment part - what to put in the field for 'Attachment in base64'.
So far I have been able to get it to send me a few 77B images (which are empty!) and some larger images which are the same size as the ones I get with Browser->Invoke Download but they're also empty.
So that I can potentially use it later, I thought it would be handy to save the CanvasSnapshot base64 result as a global variable. (there's likely another way to do that, but I know I can use global variables in armaldio's plugin so i'm going running with it!) I read somewhere that there are a few (does 23 sound right?) characters at the beginning of the generated string which are not needed, so I should be removing those before saving the string as a variable - correct me on that if i've misunderstood.
Hoping someone can guide me in the right direction!
TLDR: I want to set the base64 string of CanvasSnapshot as a global variable. How could I do this?
Thanks in advance!