Questions tagged [clipboard-interaction]

43 questions
1
vote
1 answer

Reading locale info from Clipboard

using .NET Clipboard API you can write following code: //dataObject - instance of IDataObject, received from Clipboard if (dataObject != null) { if (dataObject.GetDataPresent(DataFormats.Locale)) { var data =…
illegal-immigrant
  • 8,089
  • 9
  • 51
  • 84
1
vote
0 answers

Copy to clipboard on empty selection in the Jupyter notebook

I would like to disable the default copy on empty selection in the Jupyter notebook. A corresponding problem in the Sublime text editor can be solved easily as explained in an answer to the Sublime: how to disable empty copy question (similarly for…
1
vote
1 answer

Event listener 'Copy' doesn't work with "Copy Link Address"

I want to modify the clipboard so that it becomes the regex match. And that works - as long as I use Ctrl+C or just "Copy". If I click on "Copy link address" (or "Copy link location"), the event listener doesn't seem to see the copied thing at all.…
1
vote
2 answers

Outlook calendar item clipboard format documentation?

Short Version Is there any documentation on the Outlook RenPrivateAppointment clipboard format used to transfer appointments? Long version As a reminder, for anything on the clipboard, the source application can present you the data in a number of…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
1
vote
2 answers

How to copy text, which is in a for-each loop, to clipboard when span is clicked?

I trying to copy data to clipboard , I want it so that whenever a user clicks on a span that contain text, that specific text it is matched up with is copied to the clipboard.
ali
  • 75
  • 6
1
vote
0 answers

Chrome Extension: Temporarily swap/stash clipboard contents

I am in the process of creating a chrome extension that allows you to click on context menu options when you are in an editable element. Clicking a context menu option automatically places some text where the cursor is. The problem I am having is…
1
vote
1 answer

How can I bind to global clipboard events in .Net?

I need to make a simple service application that will bind to the Windows clipboard. Specifically, any time a copy/cut operation takes place I want to analyze the content and under certain conditions do something with the data. I know that…
RLH
  • 15,230
  • 22
  • 98
  • 182
0
votes
1 answer

How to extend QClipboard?

How can I extend QClipboard to allow selection of all text in all open windows. Please provide code. Thanks
N K
  • 121
  • 1
  • 2
  • 6
0
votes
0 answers

How to lock access to the clipboard programmatically?

I wrote some VBA code within MS Excel to automate some tasks. And some of the code use the copy an paste methods. Then I noticed that when the codes using copy and paste are running, they interfere with copy and paste commands from other programs.…
bek
  • 1
  • 1
0
votes
0 answers

copy to android system clipboard in nvim from termux

I use neovim on termux on android 11 i commonly use :y to yank/copy text to nvim clipboard then paste it to another files recently I've tried using helix-editor(hx) looks and feels so similar to neovim(with nvchad/spacevim) with a bunch of themes in…
ANDuser
  • 71
  • 8
0
votes
0 answers

Is it specified how selected HTML elements get converted to plain text when copying them?

When selecting HTML elements in a web browser, copying them and pasting them into a plain text editor, the browser has to convert the selection to plain text. Is it specified how the browser should do that? If not, what can I expect to work…
Manuel Jacob
  • 1,897
  • 10
  • 21
0
votes
0 answers

Chrome Extension (v3) - Unable to read Clipboard in popup.js

I am trying to read a value from the clipboard into a Chrome extension popup. When the following code executes it never gets passed the console.log statement 'popup.js::ReadFromClipboard: inside try block'. The document.hasfocus() call returns…
0
votes
0 answers

How to convert old C++ Clipboard procedures?

I am renovating some early MFC-based code. In which there are clipboard routines that worked fine at the time. But when I rebuild them with Visual Studio 2022, they build but hang up at EmptyClipboard() when the program is run. Sometimes when I step…
0
votes
0 answers

Copy & Paste the Selected text from the PDF File using AXAcroPDF in VB.NET

I have a windows form in VB.net having the following tools Adobe pdf Reader(AxAcroPDF) A Text box Two Buttons On Clicking the first button ,the pdf file selected using Open dialog box will appear on AxAcroPDF. I Want to SELECT a desired text from…
0
votes
0 answers

Call a clipboard access prompt in IE 11 with JS after user has refused it

When a user has refused a clipboard access prompt, the message is not showing while next copy attempts, until the page will be reloaded. Is there a way to call the prompt manually without the page reload? I am using React with copy-to-clipboard…