Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
67 views

So I have a Windows 11 PC with my password being saved in the clipboard as a pinned item, I forgot to write it down and after enabling my Microsoft account to windows I miss clicked using pin and ...
Fatemeh Sharifi's user avatar
4 votes
1 answer
391 views

I noticed Paste event.clipboardData could only paste a single copied file from the clipboard in Firefox (130.0.1), but Chrome (129.0.6668.70) and Edge could paste multiple files just fine. I couldn't ...
kazcfz's user avatar
  • 356
0 votes
1 answer
223 views

I'm working on a small script to streamline the process of re-formatting pasted text, particularly phone numbers. My goal is to paste the text into a textbox and have the formatted result ...
SimpleMind's user avatar
2 votes
1 answer
1k views

I need to copy the contents of a handle returned by GetClipboardData from winuser.h, but can't seem to find anything about how to do this. My program needs to be able to retrieve the contents of the ...
mRedgate's user avatar
1 vote
2 answers
154 views

I am writing a program that takes all objects from a JSON array and copies them into the clipboard. However, when I open the Clipboard history only the last object from the file is shown, therefore ...
Mario Rütsche's user avatar
0 votes
0 answers
360 views

In Win 10 you can Win+Shift+S to take a screenshot of a given section of screen, and can then Ctrl+V into something like Discord and immediately send that screenshot to people. I'm trying to get that ...
Enrico Tuvera Jr's user avatar
1 vote
0 answers
91 views

Currently, I am doing a project where I need a clipboard change listener for macOS. I have FlavorListener which is working fine for Windows, but the same code is not working for macOS. How can I get ...
Atul Singh's user avatar
0 votes
0 answers
154 views

In my backkground.js file of my MV2 extension, I get the clipboard text value with if(document.getElementById('filteredClipboard_data') == null){ var ta = document.createElement('...
fraz's user avatar
  • 29
0 votes
1 answer
201 views

I need to use clipboard memory for 1 sec, doing some stuff, and reload the clipboard as original. I want my cliboard do : "original random text, image, sound or anything else" --> "...
nitrateag's user avatar
3 votes
0 answers
434 views

On Windows 10/11 Win+V brings up the clipboard manager containing a history of the content you last copied. Is there any way to access this content in Python? I know I can get the last copied item ...
Code Pal's user avatar
2 votes
2 answers
2k views

I want to be able to click on certain text on specific sites and have it selected and copied to keyboard. So far I use something like this to select the text within specific classes using Stylus. ....
greektranslator's user avatar
0 votes
0 answers
289 views

I use PasteIntoFile software to paste image from clipboard to file. The software registers a menu item in Windows Context Menu: "Paste Into File" I would like to assign a hotkey (for example ...
SZL's user avatar
  • 897
0 votes
1 answer
282 views

I copy a name in the first column of the active row on a spreadsheet to the clipboard. I launch a UserForm by the name CommandsUserForm. The UserForm is overlaid with multiple pages or tabs, so it ...
Invertueyeyesh's user avatar
0 votes
0 answers
24 views

I've read quite a few posts on here about how document.execCommand is being deprecated and that the Clipboard API should be used instead. However I can't figure out what to replace it with. I have a ...
SeaBass's user avatar
  • 1,784
1 vote
1 answer
373 views

My goal is to copy values from Excel and output them in an HTML table in the exact order. Excel dummy is structured as follows: Test-Data https://easyupload.io/xb2soz For this I have already ...
oregairu2022's user avatar
1 vote
1 answer
287 views

I am using given below code to copy url, but i am thinking about something different like in given example -- https://oauth2.example.com/code?state=state_parameter_passthrough_value&code=4/...
Ankit Kumar's user avatar
0 votes
2 answers
196 views

My current script copies text like this with a shortcut: :WiltedFlower: aetheryxflower ─ 4 :Alcohol: alcohol ─ 3,709 :Ant: ant ─ 11,924 :Apple: apple ─ 15 :ArmpitHair: armpithair ─ 2 and pastes it ...
Sneazy好's user avatar
0 votes
1 answer
1k views

I want to implement image upload by pasting from the clipboard. so, I tried that get a file object from onPaste const handlePaste = (e)=>{ console.log(e.clipboardData); } <input onPaste={(e)=&...
AAGAM JAIN's user avatar
2 votes
1 answer
2k views

I have Javascript code that attempts to paste an image file, which has been copied from the Windows clipboard. This code works perfectly well in Chrome and Edge but not in Firefox. It will only work ...
Alster's user avatar
  • 71
0 votes
1 answer
688 views

Copying different files into the input such as xlxs, png, msg, etc. works perfectly. What I wish to accomplish is being able to copy mails directly from Outlook into the input (as msg-files). The ...
Soerman's user avatar
  • 304
0 votes
1 answer
318 views

I want to append text that has been copied to the clipboard to the end of a url when a bookmarklet is used. i.e. highlight text, copy and click the bookmarklet and I go to a url with the copied text ...
richardwing's user avatar
1 vote
0 answers
47 views

I'm accessing clipboard data on copy/paste event in browser. It's working fine. I want to check when system clipboard was lastModified. It's a readonly attribute available in clipboard interface. I am ...
Ghassan Malik's user avatar
1 vote
0 answers
483 views

Good morning. I am trying to copy a file to a page that receives it, this works fine in chrome, edge and opera, but not in firefox.... The idea is to copy one or several files and to be able to paste ...
Juan Pablo Romero Pereira's user avatar
3 votes
0 answers
740 views

My program allows users to copy/paste whole emails from their Outlook client into my software. If my program runs as a local program I can basically us the following code to access the running Outlook ...
Gorion's user avatar
  • 31
0 votes
1 answer
250 views

I'm stuck in a problem, I have a grid that contains an item which can contain Json or XML. I need this data to be copied on the clipboard. Below is my code that i'm using to copy the content. It's ...
IntelligentCancer's user avatar
1 vote
0 answers
317 views

This article shows the well-known way to manually copy text from a Command window. I'm looking for a way to do this programmatically. How could the cmd script that is running select all the text in ...
tim11g's user avatar
  • 2,033
0 votes
1 answer
587 views

I've registered a listener for the Clipboard copy event in the content script as follows: document.addEventListener("copy", function(event){ console.log("Copy event received"); ...
rks's user avatar
  • 652
5 votes
1 answer
579 views

I'm currently working on a react/electron app and I want to be able to copy a file that's outside the app (could be any file type) using ctrl+c or right click copy. How can I retrieve that file's name ...
JMArmbruster's user avatar
3 votes
0 answers
3k views

According to this answer: Can't get clipboard information on Android 10 there is no way to get the clipboard data, on Android 10 and above, unless your app is the default input method editor (IME) ...
zaxunobi's user avatar
  • 962
1 vote
1 answer
355 views

I'm trying to define the handler for a contenteditable <div> under Chrome (only). I have a jQuery JQuery<HTMLElement> for it and I want to add a paste event handler with .on(), but ...
SiliconValley's user avatar
2 votes
1 answer
333 views

I've got an app that is meant to take a string, and write it into the clipboard at 30 pt font, Courier New. The code below works great for word, outlook, basically anything that accepts RTF formatted ...
tatortot's user avatar
-1 votes
2 answers
3k views

I need a copy-to-text button using a font awesome icon in a div in wordpress. I do not want any alerts. Just a simple click. <div class="btcTXT">text</div> <div id="cpy&...
Erik's user avatar
  • 5,801
1 vote
1 answer
11k views

I am using onPaste function in quill editor. But whenever I tried to paste some text, the text get started as below format. How can I display them as the same content copied from? Below is the code ...
susmita rai's user avatar
0 votes
0 answers
201 views

I want to access clipboard object from window.navigator which is window.navigator.clipboard when window is blur or in background. I am unable to access on window blurred or background situation as ...
ALI Sajjad Rizvi's user avatar
1 vote
2 answers
2k views

Basically, the title. I have 4 divs that represent the main 4 colors of something, they are dynamically displayed, so they will be different. What I want do with them, is to copy the background-color (...
Miguel's user avatar
  • 57
0 votes
1 answer
1k views

I'm using the clipboard class from Win API (Windows.ApplicationModel.DataTransfer.Clipboard). When I try to copy multiple items one by one to the clipboard history, it gets overwritten by the recent ...
Wes's user avatar
  • 1,945
6 votes
1 answer
3k views

I want to get a list of all data from the clipboard history but I can't find an enumerator method. Would there be something I'm missing or what other way can I do it? I can't find an enumerator method ...
Wes's user avatar
  • 1,945
2 votes
2 answers
2k views

Using the new Clipboard API I can easily read out the current content as text (sample code) and the API looks like it could support multiple 'types', but at least in Chrome and Edge it always only ...
David Mulder's user avatar
  • 27.1k
1 vote
1 answer
1k views

I am attempting to set data into the Windows cipboard using the winapi crate in Rust(I am new both to Rust and the win32 api). The input for the SetClipboardData call requires a file type, and a C ...
Auyer's user avatar
  • 2,981
1 vote
1 answer
569 views

It's pretty simple, I'm writing a C++ program, and I just want to be able to set or get the clipboard using some Mac API. I can find API references for objective C or using pbcopy/pbpaste on ...
Nicholas Pipitone's user avatar
13 votes
2 answers
21k views

There are two ways to copy an image through the browser (for example chrome), the copy image and the copy address of the image. When I copy the image address and paste it using my paste Image button, ...
John w.'s user avatar
  • 531
1 vote
0 answers
443 views

I'm creating graphical editor with copy/paste functionality. I want for user to be able to Ctrl+C a selected zone of an image and copy it to clipboard this way. I know there is a method which you can ...
1valdis's user avatar
  • 1,154
0 votes
0 answers
36 views

How can I select textcontent before it is copied to the clipboard? Here is an idea of selecting with one click: https://stackoverflow.com/a/1173319. But this is an other code with id selector. I only ...
user avatar
0 votes
1 answer
328 views

When pressing "Ctr+C" while selecting some files in the explorer, their paths are saved in the clipboard and when later pressing "Ctr+V" the files are pasted. For an AutoHotkey script I need to edit ...
Phoenix Smaug's user avatar
3 votes
1 answer
2k views

I have a webpage which has various tables on it. These tables are Javascript components, not just pure HTML tables. I need to process the text of this webpage (somewhat similar to screen scraping) ...
user1009073's user avatar
  • 3,238
0 votes
0 answers
1k views

Getting the error error TS2304: Cannot find name 'ClipboardItem' when trying to create ClipboardItem for navigator.clipboard.write(). const clipboardItemInput = new ClipboardItem({'image/png' : ...
TTT's user avatar
  • 11
0 votes
2 answers
5k views

I would like to have the clipboard content of the client pasted automatically into a textarea the moment he opens the URL. I couldn't even manage to do it onclick and have searched everywhere with ...
Jimmy's user avatar
  • 25
1 vote
2 answers
804 views

I have a BMP image copied to the clipboard that I will paste into a form object frame control in MS Access (2016). What I need to know is the memory size that the image takes up on the clipboard (...
DRC's user avatar
  • 629
2 votes
0 answers
2k views

I'm copying multiple fields from a StringGrid to the clipboard with the intent to paste them individually in consecutive fields on the form of a 3rd party program. Is there a way to have it advance ...
Martin's user avatar
  • 31
0 votes
1 answer
297 views

In a textarea, people can paste pictures. I handle that with AngularJS, the ng-paste directive and this piece of code ctrl.handlePaste = function(event) { if(event.clipboardData.items.length > ...
Valentin Coudert's user avatar