Questions tagged [copy-paste]

For issues relating to cut, copy, and paste operations.

The term "copy-and-paste" refers to the popular, simple method of reproducing text or other data from a source to a destination. It differs from cut and paste in that the original source text or data does not get deleted or removed. The popularity of this method stems from its simplicity and the ease with which users can move data between various applications visually – without resorting to permanent storage.

Source: Wikipedia

3477 questions
1
vote
0 answers

How to check whether a file can be copied in SD card or not in case of Android Kitkat 4.2.2

In a file manager I have to copy a file somewhere in external SD card, but in case of Android 4.2.2 write access is not permitted in external SD card. For that I wish to display a toast. One solution is to check the OS version and if it is Kitkat…
1
vote
2 answers

How to copy and paste indd file content into an another indd file?

I'm newbie in indesign scripting stuffs.So I apologise as I couldn't post my trials. Objective: I have an indd document which will have figure caption,label etc. I need to copy content(figure which is editable) from other indd file to this document…
Learning
  • 848
  • 1
  • 9
  • 32
1
vote
1 answer

Why does my Copying only work on the First Loop?

My code executes the formatting lines on the first loop only after the import, but does not execute them any time after. Everything else works. I have scrubbed it multiple times with nothing. Ideas? If anyone needs more snips of my code I can add…
Coding Novice
  • 437
  • 2
  • 8
  • 22
1
vote
1 answer

Copy/Paste dynamic range

Starting from Sheet "DATA" range B4:Hx, where x is my last row taking by a row count. I need to copy this range and paste it as values on sheet "bat" starting at A1. Going forward I need to offset columns in 6. So my second copy will be I4:Ox and so…
Flib
  • 165
  • 3
  • 14
1
vote
2 answers

Copying cell range to a different workbook

I've got the below code to copy a range of different cells to the next available row in another workbook. The issue is that it's pasting the formula's not the values. Sub SaveInlife() Dim wb As Workbook, NR As Long Set wb =…
Shaun Casey
  • 69
  • 1
  • 6
1
vote
1 answer

Copy a link and launch it in a new window in Selenium Python

I have a link that I need to copy and Paste it in a new browser window. I have this following code snippet but it doesn't seem to work. I found this code snippet in StackOverFlow. I am getting blank window. Please advise. Thanks! shortUrl = …
user2744620
  • 439
  • 1
  • 9
  • 21
1
vote
2 answers

Copy and paste bar icons not shown in Action Items bar pre lollipop (5.0)

I've been experiencing this weird problem. Copy and paste icons do not show up in my apps action items bar pre lollipop. I enable the copy and paste like this: mTextView.setTextIsSelectable(true); Screeenshots attached: Copy and paste bars not…
1
vote
1 answer

Autohotkey: copy paste

I recently started using autohotkey, so I am still reading up on it. I am using a webbased program (java) where I am required to copy an e-mail address from a drop-down list. So when I choose a contact in the drop down list and an e-mail address…
1
vote
1 answer

vb.net copied rtf text not pasteable in notepad

If I copy the SelectedRtfContent of an RTF box to the clipboard, the text isn't pasteable in a TextEditor like Notepad, only in a Rtf enabled one like WordPad. Dim strClpTxt As String = txtResultsAll.SelectedRtf Clipboard.SetText(strClpRtf,…
bitlischieber
  • 77
  • 1
  • 7
1
vote
1 answer

Pasting non-text data into browser-based apps

Imagine I want a user to be able to copy-paste a selection of pixels from MSPaint into a browser-based app. Is this possible using JavaScript in any current browsers? Will it become possible in HTML5? If not, is it feasible using something like…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
1
vote
1 answer

Trying to copy Formatting in all cells from one Excell sheet into another specifically keeping fill and text color using VBA

I have a working VBA script that copies exactly what I need except formatting. I at least need it to copy Fill and Text color. Here is my current code. Private Sub Workbook_Open() Application.DisplayAlerts =…
1
vote
1 answer

Exception from HRESULT: 0x800A03EC Error triying to PasteSpecial a datagridview-excel

I’m trying to export a datagridview to an excel. I've found a really good solution ,copy-paste solution , but this exception appears. This is my code, the same code that the solution I've found. void botonCP_Click(object sender, EventArgs e) { …
1
vote
0 answers

Assigning keyboard key command "cmd+c" function to "cmd+c+[keyboard number]" to store multiple copies

I'm running on OSX. Is there a way to do this? While programming I'd like to store a few lines of code with keyboard shortcuts to copy a few different copies of different lines without having to get rid what's stored in my cmd+c. Where I could save…
garrettmac
  • 8,417
  • 3
  • 41
  • 60
1
vote
1 answer

Copy/Pasting DOCTYPE Tag Into Vi Document

I am using PuTTy to remote into a Unix box (HP-UX) and require to copy/paste XSD Schema contents into files manually (no SCP or sftp allowed unfortunately). What I do is first is to unset the auto indenting behavior of Vi (:set noautoindent),…
Ulvon
  • 91
  • 1
  • 6
1
vote
2 answers

Copy values from multiple rows

All I need to do is copy values from different rows, say row A40:D40, A47:D47 etc. I have the code that runs properly for one row at a time, but when I try to do two different rows say A40:D40 and A47:D47 it will copy A40:D40 & A41:D41. Sub…