Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rams3sh opened this issue Feb 12, 2023 · 0 comments

Comments

@rams3sh
Copy link

rams3sh commented Feb 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant