• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Click text to copy to clipboard

New Here ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

I want someone to be able to click certain text in a pdf and have it copy to their clipboard. Is this possible?

 

I have my email address in the document, and I want to make it easy for someone to click it and copy it so they can paste it in the email program of their choice to email me. 

 

Any way to make a section of text copy to their clipboard? 

 

TOPICS
How to

Views

579

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

A live email link will open a new, blank email when clicked. There's no need to run it through the clipboard.

 

If anything, it's hard to make documents and PDFs not make web and email addresses live when you create them. It's assumed you want them converted to a live link. 🙂

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

Yeah so that's my issue. I really don't want it to open a blank email. I just want to copy the text.
If I can't make the text copyable I would rather have it do nothing than automatically open an email.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

Then leave it as plain text, and the user can cut and paste it any way they like.

 

I'm not clear on the difference between having it automatically copied to the clipboard "so they can paste it in the email client of their choice"... and having a click automatically paste it in a blank email that is almost certainly generated by the email client of their choice.

 

There may be a 'copy to clipboard' command I am not aware of, though. It can be done in HTML using Javascript. Maybe one of the PDF wizards here knows.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

When I export it as plain text, it's automatically clickable and opens an email anyway. I assume it automatically recognizes it as an email address.

 

When I click on the link, it opens Apple Mail which I never use. I prefer to use a variety of email providers on my browser.

 

So I just want to make it as easy as possible for people who have a similar workflow to me.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

You can configure your default email program, you know.

 

I can't think of anyone I've ever known who used more than one email client on any given system, and had it configured as the default for convenience (including myself... and I have done some rather complex things with multi-user systems and email management), but I guess that has nothing to do with the link issue.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

Just me I guess lol. Thanks for your help

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

Well, here's the basic HTML/Javascript approach. I think it could be adapted to a PDF export.

 

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2022 Oct 05, 2022

Copy link to clipboard

Copied

LATEST

I'm not sure this goes anywhere useful (and therein my lie your answer), but it's come up before:

https://community.adobe.com/t5/acrobat/copy-text-to-clipboard/m-p/9382843

 

I figured it might be doable with (Acrobat) Javascript, but it turns out the Copy and Paste commands are not on Acrobat's menuItem whitelist. But even if they were, that might not guarantee it would work in PDF-view scenarios other than Acrobat.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines