Questions tagged [copy-paste]
A powerful idiom where one object gets copied into a clipboard so that it can be pasted elsewhere.
440
questions
0
votes
1
answer
44
views
Why doesn't Safari copy URL parameters of a link when using the 'copy' from menu?
I found a strange behaviour on Safari that seems to be affecting URL sharing.
If I copy the url by selecting all coping it I can share the full link. Such as www.somesite.com/somepage?params=somename&...
-1
votes
1
answer
91
views
Pasting UTF-8 into Terminal (zsh) does something weird [closed]
Is there an environmental setting that makes pasting text into Terminal work differently from typing it in directly?
I reported this as a bug, but maybe there's some environmental setting. After the ...
0
votes
0
answers
22
views
Linux like second paste via the third mouse button [duplicate]
On Linux, probably in every desktop environment you can use the third mouse button to past a previous selected text.
How to achieve such behavior on macOS?
Are there any scripts or commands one can ...
1
vote
1
answer
32
views
Triggering a paste from the command line
Is there any way to trigger a paste in the windows manager, for example, if I got a text box focused in an application, say, Safari, and I run the command from the command line, it would trigger a ...
-1
votes
1
answer
41
views
Corrupted original source file during copy-paste on Mac
I was copying 100GB of essential documents from my Mac to my pen drive. I had to cancel the copy-paste operation because the process became stuck in the middle. The USB drive was accidentally ejected ...
1
vote
0
answers
54
views
All links and formatting lost when copying text from Pages to another text editor
Steps to reproduce:
open a blank document in Pages
write some text
turn one of the words into a hyperlink and make one of the words bold
copy all text and paste it into another word processor (e.g., ...
2
votes
0
answers
8
views
New to MacOS, need a automator that can copy cells from Google Sheets to fill up form in Safari/Chrom [duplicate]
I am new to MacOS, have been using Windows all my life
I normally use AHK (Auto HotKey)to copy cells from Google Sheets, and automatically fill in a web form and press generate.
Normally I assign the ...
1
vote
1
answer
63
views
How can I paste colored text to textedit?
I'm gathering notes from my Javascript class and everything I cut and paste to TextEdit converts to black text. I've tried Rich text, plain text, Paste and Match style, multi-key combinations found ...
0
votes
0
answers
19
views
Numbers : paste and create rows
I am new to numbers, sorry about it.
I would like to paste 100 lines on a new numbers sheets.
100 lines from other application.
In excel, it creates 100 rows.
In numbers, rows are truncated...
I dont ...
0
votes
1
answer
61
views
Clipboard does not copy URL properly
I am trying to copy this url:
https://preview.themeforest.net/item/byron-construction-and-engineering-wordpress-theme/full_screen_preview/28520387?_ga=2.75926102.272258780.1641055757-495160342....
1
vote
0
answers
37
views
Share text clipboard, on demand only, between an iphone and mac laptop? Not using Continuity/Univeral Clipboard
I'd like to have the option to Share my clipboard, only when I ask for it, between my MBP (Big Sur/osx 11) and my iphone (ios 14).
What I don't want to use is Continuity/Handoff as I found the ...
1
vote
2
answers
81
views
OSX Screenshots: Is there a way to disable the toolbar like we can disable the shadow?
I recently found a terminal command to disable shadows when taking screenshots in OSX, do you know a way to disable the toolbar and just have the image or window content saved in the clipboard when ...
0
votes
1
answer
45
views
Getting extra character when copy string to iTerm
I'm using iTerm and when when pasting some string I've just copied from the terminal command prompt, I get some extra characters on prefix and suffix that match 00~ and 01~ respectively.
I.e.
I've ...
0
votes
2
answers
367
views
What command compares two directories recursively and validates that they are exact mirror images (if possible)?
I'm moving files from pCloud to Google Drive and when using Finder the copy process aborts sometimes due to invisible files and what not.
So i'm using cp -r command in Terminal (Google Drive's top ...
0
votes
0
answers
59
views
Problems with copying and pasting in Notes.app on macOS Big Sur
I have a problem with copying and pasting in Notes.app.
If I select and copy text from notes in the main Notes window, I often see random snatches of text from elsewhere in the same note instead of ...
2
votes
1
answer
123
views
Is Apple enabling phishing attacks through theft of iOS clipboard data? How to prevent? [duplicate]
My iPhone disclosed a friend's name and address to an app without my permission by stealing clipboard contents. Good thing it wasn't financial information!
When I looked into the problem, I found this:...
1
vote
1
answer
636
views
QEMU Clipboard Sharing on MacOS Host and Linux Guest
I have QEMU running successfully on macOS Monterey 12.0.1
I'm running a ParrotOS VM, and everything is working except that the clipboard is not shared between the host and guest.
I have installed ...
0
votes
1
answer
43
views
1Password "Clipboard Contents Restored" notification
When using 1Password for macOS, the following Notification Center notification frequently and annoyingly pops up in the corner of my screen:
Clipboard Contents Restored
Prior clipboard restored
That'...
0
votes
0
answers
45
views
Universal Clipboard - Copying and pasting text from MacBook to iPhone not working anymore
I could always copy and paste texts from my iPhone XS to my MacBook Pro 2019 or from my MacBook to my iPhone.
But today, while I can still copy and past texts from the iPhone to the MacBook, I cannot ...
1
vote
3
answers
228
views
A command to copy the access time of files on macOS 11.6 Big Sur
Hi I am looking for a command on macOS 11.6 to copy the access time from source file to destination file.
The access time source file must not be updated.
1
vote
1
answer
91
views
Disable Smart Copy/Paste globally
If I copy a word and paste it at the beginning of a filename in Finder, a space it automatically added with it. For example, if I copy the word fruit and attempt to paste it at the beginning of a ...
1
vote
0
answers
92
views
How could I set up a keyboard shortcut on my Mac that will open the camera on my iPhone, then transfer the captured photo to my Mac clipboard?
I can right click in Finder and choose "Import from iPhone" => "Take Photo". This will open the camera on my iPhone. Then I can take a photo on my phone, and it will be saved to ...
0
votes
0
answers
13
views
Is there any free clipboard manager like Ditto for Mac? [duplicate]
I'm looking for a clipboard manager for Mac OS, similar to this question but it seems that one is a bit outdated and doesn't accept new answers and also not specifically requesting a "free" ...
0
votes
2
answers
78
views
Custom "copy as Pathname" in Finder
Is there a way to somehow customize "copy as Pathname" in Finder (write-click, option, ...) so that the pathname that is copied is modified (e.g. to replace my username with somebody else's)?...
1
vote
0
answers
93
views
Stop iOS Books adding Excerpt From on copy
When I copy from Books and paste in another app, the text I had selected is placed in-between left and right quotation marks, and has a short paragraph added afterwards
Excerpt From
Book
Author
This ...
2
votes
2
answers
612
views
How to copy image directly from Finder to the clipboard? (instead of opening with Preview)
From Finder, how can I copy an image (in an image file, e.g., *.jpg, *.png) directly to the clipboard?
(as opposed to, e.g., opening the file in Finder and then command + c to copy it to the clipboard)...
0
votes
0
answers
71
views
Copy by keypress, Paste by keyrelease
Is there a way in MacOS(BigSur or later) to program a certain native keyboard key to behave as Copy(cmd-c) when pressed and Paste(cmd-v) when released?
Sequence description:
0. Start script/app to ...
0
votes
0
answers
17
views
Terminal tool to locate a bunch of files saved in my local drive
I have a list of files (mainly images) that I want to locate by their filename that is stored in my local machine. Is there an existing workflow or tool that I can utilize to help me achieve my goal?
...
0
votes
0
answers
22
views
Pregnant delays on cut
I have 5-10 second delay between selecting a range of text in safari
and selection for cut/copy/delete being visually shown. What's the origin of that and what's the cure for that?
Safari 13.1.2
macos ...
0
votes
0
answers
13
views
Copy a portion of a Messages.app message on macOS [duplicate]
I am trying to select a portion of a message in Messages.app : however I get emojis when clicking inside of it:
This may be expected behavior on an iPhone but it certainly is not on macOS . Is there ...
-1
votes
2
answers
183
views
How can I copy / select all source code in Safari
I am able to view the source code of a page in Safari, but I'm unable to find how to "select all" in order to copy it. I can select it manually by clicking scrolling down but it takes ...
0
votes
0
answers
75
views
How to automatically type pre-defined text with a simple command on IOS?
On IOS 14.4 or above, is there any way to automate/simulate the process of entering text into the currently focused textfield, (even a password textfield)?
In an ideal world, with the text cursor ...
2
votes
1
answer
100
views
macOS: saving images from the clipboard using `pngpaste` is faded and white
When I take a screenshot on macOS, and use pngpaste a1.png to save it, the image is faded:
This only happens when I take a fullscreen screenshot using CMD+SHIFT+3, and not with CMD+SHIFT+4.
7
votes
1
answer
356
views
See when a macOS application accesses the clipboard?
On iOS, it now shows you when an app accesses the clipboard. I discovered my weather app is snooping on my clipboard, which is very interesting, especially since I never pasted, and there's no logical ...
2
votes
1
answer
444
views
Is there a way to copy the HTML out of an Outlook email?
The scenario is that I often get outlook emails sent to me with content that I need to paste into an HTML formatted newsletter.
A lot of this formatting is minor...namely bolded text and hyperlinks.
I'...
0
votes
1
answer
30
views
How can I configure iPadOS so that any selected text is copied to the clipboard automatically?
E.g. the Google Chrome extension Auto Copy 3.0.3 can do it in Google Chrome for Microsoft Windows.
1
vote
0
answers
202
views
iTerm2 - sometimes copy color, sometimes copy without color?
I use iTerm2 and love it.
However, sometimes I want to copy text with color, and sometimes I don't.
I typically paste into Mail. In previous versions I got color always, but then perhaps I changed a ...
0
votes
1
answer
294
views
Automator script to paste each word on clipboard followed by tab key
The contents of my clipboard are a series of 10 words separated by spaces. I would like to paste them into an application which requires each word to be entered individually into text boxes, where you ...
1
vote
2
answers
140
views
Clipboard and class issue when running AppleScript "do shell script..."
I have a simple bash command that I have tried to envoke from AppleScript but it makes a strange unicode substitution.
Example content of the clipboard:
# 6C (d1/s2): F 11-12 100 Fly (1:12.95Y)
The ...
2
votes
1
answer
736
views
Can iOS apps read your clipboard, and can it be stopped?
An article says that iOS apps have been caught reading data from user's clipboards:
researchers found the following iOS apps were reading users’ clipboard data every time the app was opened with no ...
1
vote
0
answers
50
views
Microsoft Word: copy paste doesn't work outside of application
I have:
Microsoft Office 16.45 installed from Mac App Store.
MacOS 11.1 Big Sur
I am trying:
Copy anything from any application except Word itself
Paste inside of Word application
The problem is ...
0
votes
1
answer
274
views
Detect whether clipboard item is image data using AppleScript
This started because I wanted to be able to paste screenshots or pictures copied from Safari into Finder folders. Here are the steps to get to where I am:
Install pngpaste using brew install pngpaste....
1
vote
2
answers
51
views
How to paste graphics image data to folders in finder
If you right click and copy an image from Safari, Mail, etc. (or command-control-shift-4 to save screenshot to clipboard), certain apps support pasting (e.g., Mail, MS Word, etc.), but I can't paste ...
0
votes
0
answers
115
views
macOS Terminal middle-click accidentally pastes the entire screen buffer
I like being able to select text and then immediately middle-click to paste in the Terminal app, especially because its clipboard is separate from the system clipboard. However, sometimes when I ...
0
votes
1
answer
612
views
How copy text into Terminal command line zsh?
Somehow something seems to have been changed with my Zsh configuration or Terminal settings under macOS Catalina (10.15.7). If I copy some text, say from a TextEdit window, the usual paste command and ...
2
votes
1
answer
1k
views
macOS Big Sur version 11.0.1, no paste option in Finder
I upgraded macOS yesterday to Big Sur version 11.0.1, since then there is no paste option in finder, using Cmd + V doesn't work either, just plays a sound.
I can see that the file is copied to the ...
0
votes
1
answer
199
views
Sound effect to confirm text is copied to clipboard
How do you set a sound effect to confirm text is copied to clipboard? I am looking for my mac to make a ding whenever I copy something.
1
vote
1
answer
36
views
Builtin terminal app seems to be eating some character sequences on clipboard paste
I am trying to paste a string blah.cjijjepceyd6.ap-south-1.rds.amazonaws.com into the Terminal.app but what actually shows up is blah.cjiyd6.ap-south-1.rds.amazonaws.com. When that string is pasted ...
3
votes
3
answers
1k
views
Copy home directory from one Mac to another both running macOS Catalina
I have a new 16" and an older 15" MacBook Pros both running macOS Catalina. I want to transfer all my the content in my home directory to the new MacBook Pro while retaining the same ...
1
vote
1
answer
2k
views
Command + Shift + 4 not saving image to clipboard
I saw that Command + Shift + 4 gets a regular selection for a save of your screen. When I press the shortcut, I get the rectangular selection, and when I select, I here the camera shutter noise, but ...