Photo to clipboard via script

Viewing 2 reply threads
  • Author
    Posts
  • June 1, 2022 at 9:35 AM #47416

    David Schwane
    Participant

    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];

    June 1, 2022 at 11:54 AM #47417

    Brendan
    Keymaster

    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?

    June 1, 2022 at 12:42 PM #47418

    David Schwane
    Participant

    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.

Viewing 2 reply threads

You must be logged in to reply to this topic.