Skip to content

Feature Request: Support to read and write raw content (without any formatting) from and into clipboards #40

@rams3sh

Description

@rams3sh

Hey

First of all thanks a ton for this project. I have been experimenting with the project for a week now. I have a requirement for an internal project where I have to detect the content type of the clipboard as file or text and take an action based on that.

I tried the clipboard package and when I try to copy a folder or a file (agnostic of any format) , the Read function gives only the text path of the folder. Hence I am unable to differentiate if the copied content is just the text file path or the actual file itself.

My request pertains to providing an additional method to directly read the raw content from the clipboard (hex format / any other suitable binary format) , than forcing it to be formatted to a Text or Image (which is the case as on date) in which case it loses context of the content; and a direct write of raw content to the clipboard.

This will also help others to write their own implementation of formatting until the support for their requested format ( such as the issue here - #17) is added to the main library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions