Questions tagged [clipboarddata]

Questions dealing with editing and using clipboard data.

Questions dealing with editing and using clipboard data. eg: Storing a string in the Windows clipboard.

165 questions
0
votes
0 answers

Copying to clipboard failing in python

I am currently doing an automation where I have to copy data to clipboard from UI and read that data from clipboard. I am using pywinauto for UI automation and app.XXXX.menu_select('Export-> to Clipboard') is the command I use to copy data both the…
Vincy Mathew
  • 121
  • 1
  • 4
  • 16
0
votes
2 answers

How to check which application pasted to System.Windows.Clipboard?

I am not coding in .Net but am using System.Windows.Clipboard from the PresentationCore assembly to access the system clipboard to paste information copied in Excel. When Excel copies to the clipboard I can retrieve it as text with…
Edmund
  • 488
  • 4
  • 21
0
votes
1 answer

How do you copy text onto clipboard with formatting and font?

I am currently trying to allow the user to copy text from a label on a windows form to a clipboard when being clicked, it does copy the text, but it does not copy the font and size as well. If anyone could help me change my code somehow so that the…
0
votes
3 answers

Excel - Copy and paste hyperlink formula without formula

I have an Excel add-in which will create a table, and one of the columns has this HYPERLINK formula: =HYPERLINK(CONCATENATE("https://www.example.org/",[id]),[id]) When users copy the cells which contains this formula, and they paste it into another…
Dhinnesh Jeevan
  • 489
  • 2
  • 7
  • 22
0
votes
1 answer

How can I go about filtering a variable or file in autohotkey

I am trying to filter specific information to variable via parsing the clipboard but I need some help doing this. Loop, parse, clipboard, `n, `r { If A_LoopField contains XYZ ;Copy whatever text is found 2 or 3 lines below into file but continue…
Perry_M
  • 137
  • 11
0
votes
2 answers

Clipboard copies twice

(Short Screen-Cast explaining the problem) I'm making a Clipboard program, that allows you to see what's in your clipboard. It looks like this: It seems to work fine copying on-the-fly. The problem is that I want to be able to go back to a…
Maverick Meerkat
  • 5,737
  • 3
  • 47
  • 66
0
votes
1 answer

How do I copy text to the clipboard with partial italics?

How do I make it so that txtTitleofWebpage.Text is in italics when copied to the Clipboard so that the user can copy the references into a Microsoft Word document? I'm trying to make a Windows Form Application using C# to generate Harvard References…
SomeRandomDev
  • 129
  • 11
0
votes
1 answer

Browser meta data on paste with evt.clipboardData.getData?

I found the following function which allows me to get the data when the user pastes text. document.addEventListener('paste', function (evt) { console.log(evt.clipboardData.getData('text/plain')); }); I'm wondering if there is a format which…
Philip Kirkbride
  • 21,381
  • 38
  • 125
  • 225
0
votes
1 answer

Copy value to clipboard via Javascript command inserted in Address Bar

I'm able to get the current time of a Youtube playing video via inserting this JavaScript command to the address bar: javascript:alert(document.querySelector('video').currentTime); What I'm looking for is to get this video current time value to…
Omar
  • 6,681
  • 5
  • 21
  • 36
0
votes
2 answers

In Qt, how can I register a QString to my System's clipboard, both quoted and non-quoted?

If I want a quoted string in my clipboard: qDebug() << QString("Boat\nProgramming"); I then copy the output: "Boat\nProgramming" If I want a non-quoted string in my clipboard: qDebug().noquote() << QString("Boat\nProgramming"); I then copy the…
Anon
  • 2,267
  • 3
  • 34
  • 51
0
votes
1 answer

How to overwrite clipboard every five seconds?

I'm trying to prevent users to copy some sensitive data from my internal portal. I have disabled copy paste everything, but I cant disable print screen so I decided to empty clipboard every five seconds so that contents copied will be useless but…
0
votes
1 answer

Worksheet.PasteSpecial Function pasting data as bitmap image

I am using below code to copy data from DataGridView and then pasting in an excel file. private void copyAlltoClipboard() { //to remove the first blank column from datagridview dataGridView1.RowHeadersVisible = false; …
0
votes
0 answers

How to monitor if user pastes something from clipboard? python 2.7

I'm trying to do something along the lines of this: #setup stuff from Tkinter import Tk clp=Tk() clp.withdraw() #keep window from showing clp.clipboard_clear() stuff=['this','is','stuff']) count = 0 while 1: …
Futuza
  • 144
  • 8
0
votes
1 answer

How can I format clipboard data in Javascript to create soft line breaks when pasted into MS Word?

In Javascript, I am putting billing/shipping address data on the clipboard (using clipboard.js). When I paste that data into MS Word, it shows up with paragraph separators and looks too spread out for an address. How can I format the data from…
jbobbins
  • 1,221
  • 3
  • 15
  • 28
0
votes
0 answers

How to autocopy text to clipboard on clicking a button without using flash in Safari Browser

I have a button in HTML page (SAFARI BROWSER), and I need to copy the text in a textbox to the clipboard on clicking that button without using flash. In my scenario I should not select the text and give copy. Just by clicking the button autocopy…
Manobala
  • 21
  • 1
  • 4
1 2 3
10
11