Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [copy-paste]

A powerful idiom where one object gets copied into a clipboard so that it can be pasted elsewhere.

2
votes
2answers
33 views

Why does Mac OS overwrite whole folders rather than merging their contents?

I’ve noticed that if I have two folders of the same name but different files in each, copying one on top of the other (eg: from different parent locations) will cause the contents of the first folder ...
1
vote
1answer
52 views

How do I copy multiple files to macOS's clipboard programmatically?

I ultimately want to have a bash function to-clipboard which gets file paths and copies the files to the clipboard. Using other scripting languages as helpers is okay. I currently have this for ...
1
vote
0answers
21 views

Is there any way to make Universal Clipboard in High Sierra reliable?

I just don't find it reliable. Sometimes it works, sometimes it doesn't. I have a MacBook Pro (mid-2015), an iPad Air 2, and an iPhone XS. I've tried logging all of them out of the same iCloud account,...
1
vote
0answers
27 views

Glyphboard copy and paste not working on iPhone

Glyphboard is a fantastic website I've used for years to get quick access to characters that can't be typed from the standard iOS keyboard. Recently, when I tap a character in Glyphboard to copy it, ...
3
votes
2answers
125 views

Copy the first n files from one directory to another

Im looking to copy the first 'n' files from one directory to another directory preferably with only cli tools (no scripts). I've tried the following: find . -maxdepth 1 -type f | head -5 | ...
4
votes
1answer
88 views

Make Ctrl-k in Terminal copy to the system clipboard

I'd like whatever I last "cut" with Ctrl-k in Terminal to be available in my text editor when I hit Cmd-v. Is that possible? Or something close? Update with additional explanation: Ctrl-k is by ...
1
vote
1answer
22 views

Copy/Paste working inconsistently (El Capitan, Macbook Air)

I'm using a MacBook Air from late 2010 or so, and I've recently noticed that my copy/paste abilities have become significantly reduced. Within an app itself it usually works without a hitch, but ...
0
votes
0answers
21 views

How to modify Mac system-wide copy behaviour for highlighted text [duplicate]

I'm looking for a way to copy highlighted text without CommandC similar to terminal's mechanism (highlight to copy, mouse wheel click to paste). EDIT: In terminal app when you highlight a text it's ...
1
vote
0answers
55 views

Mac not copying and pasting between applications

Today, I found when I copy from one application into my clipboard, the clipboard cannot be pasted into another application. The next application has its own clipboard. If I paste into the first ...
1
vote
0answers
74 views

Clipboard doesn't work across applications anymore

Recently, I have noticed that ⌘ + c and ⌘ + v keyboard shortcuts no longer work like they used to. If I want to copy/paste something from Postman.app into Slack.app, for example, the clipboard will ...
0
votes
2answers
48 views

How do I transcribe an AppleScript?

I found an AppleScript example on a website that I want to use, and the example is rendered as text in the browser (vs., say, being a suitably formatted file to download). To use this AppleScript, I'...
0
votes
1answer
151 views

Firefox and Chrome do not share clipboard - what's wrong?

I seem to experience issues with clipboard - copying from Firefox into other apps works ok, but from Firefox into Chrome doesn't. Copying from other apps into Chrome behaves erratically. Any idea on ...
2
votes
1answer
149 views

Copy and paste a chain of items on Mac OS X?

Is there a way to copy a set of different items and then paste them in? The items have to go in separate boxes during a timed registration. For example, Is there a way to copy the numbers: 20102 21568 ...
1
vote
0answers
50 views

Wine & CrossOver failing to access clipboard on macOS High Sierra 10.13.4

I've searched all over the Internet for an answer but most were old (2010-2013) so they weren't applicable (since most were concerned with X11). Anyways, I'm running CrossOver 17.5 on macOS High ...
2
votes
1answer
108 views

Script copy the content of the clipboard into a file

I want to write a shell script which copies the contents of the clipboard (plain-text only) when the previous content changes. When I launch the script each time I copy something (so the content of ...
0
votes
0answers
47 views

Paste Image as Bitmap / Rasterized

I'm copying an image from MATLAB Figure which is copied as Vector Image. I want to paste it into ImgUr / Slack / Other Application (Which can accept Bitmap Data) as Bit Map (Rasterized image). In ...
1
vote
1answer
20 views

How to copy files in /Applications/* using Terminal?

# whoami root # pwd /Applications/Calendar.app/Contents/MacOS # cp Calendar Calendar.backup cp: Calendar.backup: Operation not permitted im curious to know why im not able to copy applications from ...
0
votes
1answer
179 views

Apple Script, Javascript: fill text filed (web form) with data from clipboard

I want to fill a webform (text filed) from a page i open in Safari with the text from a excel cell. I have managed to do a script to copy the cell content to clipboard but i do not know how to use ...
4
votes
0answers
68 views

Command + C does not always work on first try on MacOS

Command + C does not always work on first try on any of my four Macs. I often highlight text, press Command + C, head to another window, press Command + V only to find that the original text did not ...
2
votes
0answers
53 views

Applescript that efficiently listens for changes to the clipboard?

I'd like to do something whenever clipboard content changes. I have a solution working now where I get the clipboard value and store it, then I start an infinite loop where I look up the clipboard ...
2
votes
0answers
95 views

Make Merge Files the default behavior in (High Sierra) Finder when moving folders?

MacOS notoriously deletes whole duplicate folders when you are moving folders. That is, if you have a file structure: Folder1 └── Photos ├── Bright\ Selfie.jpg ├── Indiana\ Dunes\ at\ Sunset....
0
votes
0answers
51 views

Numbers 3 or 4: how to copy a chart completely?

I have Numbers 4.3, 3.6 and 2.3 installed on different computers. I want to copy charts from Numbers to Keynote but when I do that in 4.3 or 3.6 the title, legend etc are omitted (and yes, I have ...
2
votes
1answer
208 views

Download link for older Safari Technology Preview version 51

As was answered in this question, Cannot paste images from clipboard to Facebook in Safari unlike Google Chrome, Safari Technology Preview 51 has the attribute to copy and paste Facebook and Tumblr ...
1
vote
0answers
49 views

Excel copy and pbpaste

When I copy from Excel (Microsoft® Excel for Mac Version 16.11.1 (180319)) and paste into the terminal (Versian 2.8 (400)) via pbpaste I often (but not always) get weird chars at the end. Why is that?...
1
vote
4answers
260 views

Select and copy part of the text from a link in Safari

How can I copy only a section of text from a hyper link? As in, if there is a link like below, how can I copy only a part of the text that is linked? Call me Ishmael. Some years ago—never mind ...
1
vote
0answers
141 views

Extremely slow speeds using rsync to copy from one external drive to another

I am using rsync per Fastest and safest way to copy massive data from one external drive to another I have two external hard drives, connected via USB. According to System Information, both have up ...
6
votes
1answer
598 views

Cannot paste images from clipboard to Facebook in Safari unlike Google Chrome

I have problems pasting images from clipboard to Facebook in Safari. I have recently uninstalled Google Chrome and started using Safari since Chrome uses tons of energy and memory. I liked it but I ...
4
votes
2answers
389 views

Screenshot paste only works in some apps, not in Google Chrome

I used to love shift+control+command+4 for pasting screen grabs. But now it doesn't work in Chrome. In Stickies and Text Edit it doesn't work and gives the Apple error sound. The pasting Works fine ...
1
vote
0answers
27 views

Is there any way to make paste without formatting (i.e. as text) the system wide default?

I know you can ostensibly remap the keybinding on a given application in the Keyboard prefs, but this remap is not always possible when the format match is not an explicit menu choice. I'm assuming ...
0
votes
1answer
466 views

copy/paste of large amount of text to terminal leads to scrambled/missing characters

I work with TextMate and R over the terminal. When pasting a lot of code (CMD+C/CMD+V, e.g. 60 lines) it sometimes happens that few characters in the code are scrambled, which then leads to error ...
0
votes
1answer
37 views

Can one app read data from clipboard copied in another app

Let's say I'm working in application A and copy some sensitive data to clipboard. Can application B which is opened at the moment catch the information I've copied? Does OS X protect from such ...
3
votes
2answers
351 views

How can I use the TrackPad's force touch as copy paste function in terminal?

Since MacBook Pro 2015, Apple introduced the "Force Touch" in the Track Pad. When you click it in the Terminal, by default it gives you dictionary/Wikipedia search results. I would like to change it ...
0
votes
1answer
43 views

Simulating copy and paste on applications that don't allow it

Context Some applications currently don't seem to allow copy and pasting. For example I have an application that asks me to log in every time and it doesn't allow me to paste anything so I'm forced ...
2
votes
1answer
368 views

Cannot copy a large file; space available

Trying to copy (drag and drop) an ISO file from SSD1/MacOS Extended to SSD2/FAT32 (two physically different and internal SATA drives): ISO file size: 4.7 GB Space available on SSD2 partition: 20 GB ...
0
votes
1answer
52 views

Create apple script which auto names files with info from clipboard when a key combination is pressed

I work with file sets all beginning with the same number, but with variations, e.g. 0545038773.jpg, 0545038773_right.jpg, 0545038773_left.jpg, 0545038773_TOP.jpg, etc I'd like to assign the, _left, ...
2
votes
1answer
371 views

Creating a new file from a rectangular region of a PDF file

I want to create a new PDF file from a rectangular region of an existing PDF file, old_file.pdf. Currently, I use the following rather laborious process: Open the old_file.pdf in Preview. Chose the ...
1
vote
1answer
296 views

Copy Text From A Webpage Into Text Editor

This is my first try at AppleScript. Ultimately I want to automate adding lyrics to my iTunes library. My first challenge is to tell Safari to search a webpage for a phrase, click on the link, and ...
0
votes
3answers
86 views

How to auto-copy photos taken with camera?

I’m using OneNote app on iPad Pro with Apple Pencil for note taking at my university. Sometimes I want take photos of lecture slides on the projector screen and paste them on my one note. Since my ...
1
vote
0answers
225 views

copy text inside terminal.app without mouse

I'm inside a terminal.app with about 20 lines of commands and it's output $ previous command previous command output $ git branch develop master * you/236-add-more-test $ previous ...
1
vote
1answer
551 views

How to use Control or Command for Cut-Copy-Paste

I use a lot of Windows VMs and Remote Desktop into Windows on my Mac. I am going mad trying to find the correct keyboard shortcut based on which window I have in the foreground for Copy (or Cut) and ...
5
votes
2answers
2k views

clipboard not working after Security Update

EDIT: The update had the Security and Privacy icon (steel home with vault lock), while the last installed update (2017-001) has the High Sierra icon. So may not be 2017-001. Yet this is the last ...
3
votes
0answers
403 views

AppleScript and Numbers: Copying from one spreadsheet to another?

I'm new to AppleScript, and I'm trying to find a way to use it to copy a value from one Numbers spreadsheet and paste it into another file. The situation is that I've been using Numbers to run a ...
1
vote
0answers
31 views

Pdf file is not “attached” in the email, instead it is shown as an image in the email. How could I change this?

How to copy and paste pdf files from finder to the Microsoft outlook, (using keyboard shortcut CMD+C and CMD+V), and not attach as "images" into the email composer, instead as attachments like Windows ...
2
votes
1answer
161 views

continuity not working except for receiving calls, iMessages and AirDrop

for some reason the universal clipboard and handoff between apps stopped working but AirDrops, receiving and making calls on my Mac and iMessages continue to work perfectly. I contacted Apple Support ...
4
votes
1answer
2k views

Copy & Paste doesn't work

After updating latest patch on High Sierra 10.13 on a 2012 MacBook Air, I can no longer copy and paste text. I restarted computer, booted into safe mode, tried copy and pasting in various applications ...
0
votes
0answers
30 views

Is it possible to clear clipboard content only if the process, which last wrote to it, dies?

Here is a small introduction to my situation: For the sake of an example, I'm running a small IT firm developing really nice banana Software solely on MacBooks. In order to prevent data leakage, ...
13
votes
2answers
9k views

Does OS X continue to copy files when my laptop goes to sleep?

I am currently backing up a large amount of files to a portable hard drive on my Macbook Pro running High Sierra. It should take a few hours, and generally in around 15 minutes my laptop screen goes ...
0
votes
1answer
49 views

Using PRIMARY clipboard in macOS

I use Linux (CentOS) at work and quite like the PRIMARY clipboard. This adds highlighted text to a clipboard automatically and pastes the contents of that clipboard on center-button mouse click. ...
0
votes
1answer
73 views

Copying and pasting text only pastes a hyphen character

When I copy a block of text more than about twenty lines long to the clipboard, pasting only pastes a hyphen character. Why is the clipboard buffer so small and how can I increase it?
0
votes
2answers
122 views

applescript - How to convert youtube link text to embed html text?

i want to convert 'youtube link text (from clipboard)' to 'youtube title and embed html text' and copy to clipboard With Applescript for example, I copy https://www.youtube.com/watch?v=...