Is there any way to copy a photo field image to the clipboard via script?
I can’t figure out how to retrieve the image from the blob object and then copy it to the clipboard.
Basically need an image equivalent to Utils.copyTextToClipboard
I can see the digest but that’s about it…
var cover_id = 'fld-xxx';
var cover = record.getFieldValue( cover_id );
return cover[0];
The clipboard commands only support text at the moment. I’d have to add some specific functions for copying images.
What’s your overall goal for this?
On an individual random basis, I copy images and text to another app (no need to batch, it’s as certain records are processed). As a workaround, I can use the existing “Save Picture to Drive” functionality and then paste into the other app from there. Was just trying to save a step with a quick copy paste.