4,164 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
81
views
Prevent Firefox from repeatedly asking for permission to access the clipboard
I have a webpage that tries to check the contents of the user's clipboard using navigator.clipboard.readText(). There's a button the page that can import something from the user's clipboard, but only ...
1
vote
1
answer
148
views
How to paste a copied file into a TextField and get the file path?
I want to let the user copy a file from the device file manager and then paste it into a TextField in my Flutter app.
When the user clicks "Paste" in the text field, I want to get the path ...
0
votes
2
answers
131
views
How to copy the new value of a data attribute?
What I'm doing is having the value of my <input> reflected in the value of the data attribute every time I click a button, to then copy the value with another button.
Example: If I type "...
0
votes
2
answers
170
views
Using navigator.clipboard to write multiple entries to clipboard
I have up to four form text inputs that I'm trying to get copied to the windows clipboard as individual entries. Using navigator.clipboard.writeText it will successfully copy any one entry, but ...
2
votes
0
answers
53
views
React Native: Copy to clipboard button inside code block not working during streaming updates
I’m building a React Native app where I stream text from an API using XMLHttpRequest.
The API sends chunks of text (like a chatbot response), and I keep appending those chunks into a messages array in ...
0
votes
0
answers
97
views
tauri clipboard-manager.write_text not allowed
this React code
import { message } from "@tauri-apps/plugin-dialog";
import { writeText } from "@tauri-apps/plugin-clipboard-manager";
async function copy() {
try {
...
1
vote
1
answer
91
views
How can I disable middle-click paste in a Java Swing application?
I am using the middle mouse button for an autoscroller in a Java Swing application. However, when I middle-click on a text component, on Linux it pastes the last selected text, which is unwanted. How ...
3
votes
2
answers
1k
views
How to resolve deprecated ClipboardManager in Jetpack Compose?
The ClipboardManager interface was deprecated. What should I change?
0
votes
0
answers
26
views
How to use chromium extension shortcut to fill system clipboard?
I wrote simple chromium extension where I define command with keyboard shortcut:
"commands": {
"copy-to-clipboard": {
"suggested_key": {
"default&...
1
vote
1
answer
70
views
Using c#, how do I save string to clipboard in Titled Hyperlink Format and Link Preview Format so that new outlook pastes as link with title?
I have been working on this for 14 hours now, and cannot seem to crack it. My c# program writes to clipboard, but it doesn't write in correct encoding formats somehow, but only for my new custom ...
-1
votes
0
answers
60
views
Send formatted HTML file to clipboard instead of plain text [duplicate]
Consider the following HTML file content:
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
When ...
0
votes
2
answers
129
views
Is there a Python function to copy a file to the clipboard?
I'm trying to automate the process of sending a large volume of emails, but our organization's email addresses do not support sending emails via SMTP because we use a single sign on and not a password....
2
votes
1
answer
116
views
Setting a persistent clipboard with multiple targets on X11
General overview
I am trying to set an image in clipboard into different linux’s targets. As example, depending of the context, the same image could be paste in png, jpg, or whatever else.
The problem
...
0
votes
2
answers
144
views
Clearing clipboard on program exit in python Tk and Kubuntu
Python 3.12 in a venv, Kubuntu 24.04.02.
I'm using the tkinter clipboard in a python program to hold a small amount of text, to ctrl-V into text editors and browser fields. This bit works fine.
I ...
6
votes
2
answers
312
views
How can I copy something to the Clipboard without it showing up in the history?
When I copy something onto the clipboard, it shows up in the Clipboard history (Win+V). And with Windows 10 and Windows 11, it also syncs the clipboard with the cloud and other devices.
When I copy ...