"Copy to clipboard" - Button/Function

This would be a cool feature for all “generator”-like use cases, and many others.

Maybe it is an additional Button feature, where you can select the “data source”.

Or it could be Column feature, that you can activate in the “format column” menu. When it is activated, a small “copy to clipboard” icon appears next to the data-cell value.

22 Likes

+1 vote for this. A copy to clipboard option would be extremely useful, particularly because the number of packs are still very limited.

For example, I have a doc that generates the text for an email. Because I don’t use gMail, I need to copy the text from Coda and paste in my email client. Having a button that would copy to clipboard would make this a much simpler (instead of click in cell, then click and drag to select, then Cmd+C to copy) and more elegant process.

1 Like

I REALLY need this button/function!

1 Like

Thanks for the great ideas. To better understand the requests, are sections or cells in tables good targets to start?

2 Likes

Hi Preeyanka,

For me yes. I have a page in a doc that records when I use an office. Here’s a copy -

It would be great to have a button action, or a formula, to copy the email output directly to the clipboard.

Thanks,

Rohan

2 Likes

For me, cells are a great way to start :slight_smile: I have not thought about sections as a whole, but can’t find a use case right now :thinking:

My main use case are generators, where different values / results are combined with a formular / a button. The outcome (a link, a number, a text) needs to be used somewhere outside Coda. I can calculate it in a cell, and then want to copy the result to the new location. A second use case is a Brand Book / Design Guide. E.g. brand color codes can be ‘picked’ into clipboard with one click. Cell-level would do that again.

2 Likes

Dear @anon86103599

Thank you sharing your doc :handshake: and giving more insight to how to construct the “Output” column.

ToText(Substitute("Office use for period ending " + Format("{1:00}-{2:00}-{3:0000}", frmOfficeUsePeriodEnd.Day(), frmOfficeUsePeriodEnd.Month(), frmOfficeUsePeriodEnd.Year()) + Char(10) + Char(10) + FormulaMap([Office Use].Filter(Advised=false), Format("{1:00}-{2:00}-{3:0000}", Date.Day(), Date.Month(), Date.Year()) + " - " + Usage + " days" + Char(10)).List() + char(10) + char(10) + "Total - " + [Office Use].Filter(Advised=false).Usage.Sum() + " days", ",", "") + Char(10) + Char(10) + Char(10) + "Regards," + Char(10) + Char(10) + "Rohan")

Only knowing the formulas is not enough, it’s the point to get them creating your expected outcome

When I see it prepared I manage to get the logic, any advise on where I can best learn to develop my own text lay out?

Hi @Jean_Pierre_Traets,

You’re welcome.

Regarding developing your own text layout, for me it was just a lot of trial and error. The best I can suggest is just to look at lots of other people’s docs. Even those that don’t seem related to what you want to do, will have interesting solutions. It’s through doing this that I discovered the FormulaMap function for example. I was looking at someone’s solution for something else, but once I came across that function, it really expanded what I could do with Coda. Similarly for the RunActions function, that’s fantastic as well for being able to carry out multiple steps with one button click.

It’s one of the great things about Coda and its community, the way everyone shares their docs and knowledge.

Cheers,

Rohan

2 Likes

+1, copy to clipboard would be great

1 Like

+1 for both options, although I guess the former would be easier
My use case is an internal purchase request doc I’m building for my lab. The students will fill a kind of request form with the necessary details (item, vendor, quantity, etc) and then, when I want to create a purchase order, I will copy and paste the required details to the university’s purchasing system.

Any update on this? I was also looking for way to have a button which I can use to copy text to clipboard.

Is there a formula to be used in a button which can copy the whole contents of another cell in the row?

1 Like

We don’t have this feature, but it would be a useful one.

2 Likes

Is it a matter of simply copying the text in the cell to the clipboard?

You can just highlight the cell and use [cmd + c] on a Mac or [ctrl + c] on a PC.

1 Like

Thanks brother. This works great for now.

How do I put in a suggestion to make this a formula or function for a button down the road?

This topic is a suggestion for this feature so we have it noted already. So you’re all set.

5 Likes

This is going to be harder than I expected, especially since actions are computed asynchronously and the copy command should be executed synchronously.


But I hope Coda will figure out what to do.

still looking for a similar function.

This is such a simple feature…