Copy multiple selected items?

Sure thing! So, if I created a list like this…

Vegetables

  • Cucumbers
  • Lettuce
  • Peppers
  • Radishes

…and I wanted to select & copy “Lettuce,” “Peppers” and “Radishes” – that’s what I’d like to do.

Does that make sense?

I think I’m missing one more requirement. If you just want to:

…and I wanted to select & copy “Lettuce,” “Peppers” and “Radishes”

Then I “think” you can just click and drag with the mouse cursor to create this selection?

Screen Shot 2021-03-18 at 4.41.18 PM

Then choose menu item File > Copy? I’m probably missing something, please clue me in :slight_smile:

Hmmm… Well, if it’s a contagious list it might work. But if I select non-contagious items, e.g., “Cucumbers,” “Peppers” and “Radishes” – and select Copy – then when I hit paste (in another app) I only get Cucumbers.

Ahh, I think I understand your original post now …

Is there a way to copy multiple selected items (i.e., second-order lists)?

In TaskPaper each line is considered a separate item. And I thought “second-order” was a reference to item indentation level. So “Yes” you can select multiple items at level one (or any) indentation.

But instead I think you are asking about multiple discontinuous selections? That isn’t possible in TaskPaper. You can only specify one selection range, never multiple.

Yes, I think that captures what I’m seeking.

Not even to select & copy “discontinuous selections”? Darn it, that’s a shame… Is there any kind of work around or script that could be used to make this work?

Thanks for your help!

Sorry I don’t think so. Scripts can do lots to work on the model layer, but I don’t think they can help much here.

1 Like

Got it. Thanks, man.

Well, I understand (and totally appreciate) the simple, lean approach of TaskPaper, but…I’d truly love to have this as a feature for future editions…

That an some kind of iOS syncing!

Thanks for your terrific work, and all of your help…

A note—TaskPaper files are text files.

You could always open them in a text editor that support discontigious text selection, and do your edits there. Then return to TaskPaper for the things that it does better.

1 Like

Ha, actually looks like it is somewhat possible:

I had thought that I’d disabled this NSTextView feature. The multiple selection doesn’t match up well with TaskPaper’s internal selection model, which is single. But for your use case it might work?

Edit: Never mind, reading @complexpoint 's post (instead of just looking at pictures as I did at first) explains that while you can make and delete the selection… you can’t successfully copy it.

1 Like

Thanks. I thought about doing this. The thing is, I’m mostly just hopping between a TaskPaper file (that contains a list of categories & values – or hashtags), and MarginNote (in which I’m copying the values / hashtags from TaskPaper, and populating them in MarginNote). So…it’s kind of a pain to open the TaskPaper file in another app, just so I can copy discontiguous text selections…

Again, I really appreciate TaskPaper for the lean, mean app that it is, but it would be great to have this as a feature for future editions. And have iOS app ability, too !

Thanks so much for all of your help, guys…

Hey @jessegrosjean … I really do appreciate your help answering the query, and am just wondering (hoping!) if TaskPaper might someday allow users to select and copy discontiguous text. It would just be such a huge help…

Thanks for considering this, and for all of your assistance.

Hard to say never, but I don’t expect anytime soon.

I wonder if some adjusted workflow could work. For example if you could append to existing clipboard content then I think you could have a similar workflow? I haven’t tested any of them, but I a google search found a number of “Append to clipboard” solutions for macOS. Here’s one:

To when you wanted to make a discontiguous copy you would:

  1. Start by copying the first section.
  2. Continue copying by appending to clipboard following discontiguous sections
  3. Paste in target app
1 Like

Hey, thanks so much for all of this – and I’m sorry for my late reply!

So, it looks like one could write up a command for Keyboard Maestro to create an “Append to clipboard” solution for macOS. That is, until you create this feature in an update for TaskPaper! :stuck_out_tongue_winking_eye: Have I got that right?

Anyway, I thank you for that suggestion, and I’ll look into it a bit more and report back…

Although this is separate from the current topic, I’m still trying to find a way to use some of my TaskPaper files in iOS and also be able to copy discontiguous text there, too. Any ideas / suggestions for how I might be able to accomplish that??

Thanks so much again for all of your help… I greatly appreciate it.

Hey, @jessegrosjean … I know it’s been a while, but I’m wondering if TaskPaper might soon be able to enable users to select & copy discontiguous text.

I’m sure you’ve got your fair share of feature requests, so forgive me for asking! But this feature would be incredibly useful… Thanks so much !

Sorry, I haven’t got any closer on that. been working a lot on other things.

I’m sorry to sound like a broken record, but I’m still hoping you’ll be able to include this feature for future versions to TaskPaper. Thanks for considering this request!

I’m now quite certain that TaskPaper won’t ever allow discontiguous selections. With that said I wonder if you could take another approach:

  1. “Select” each item that you want to process by adding a tag, for example @select.
  2. Running a script that works those items tagged with @select, optionally clearing the select status after running.

Could something like that work?

1 Like

Not quite sure I follow, but I’ll think on this a bit and get back to you. Thanks for your input!

Hey, @jessegrosjean Thanks very much for your reply, and your continued help trying to find a solution to this. I very much appreciate it.

To step back a sec and give you some context, I’m trying using TaskPaper in conjunction with MarginNote (in the this instance), and so I’m aiming to copy discontiguous selections and then paste them with the following syntax: [hash-tagged-tag]+[SPACE]+[COMMA]+[SPACE]+[hash-tagged-tag]

It’s just the way MarginNote’s registers multiple hash-tagged-tags for its annotated notes.

Based on that syntax, would your suggested approach work?

Thank you again…

It sounds like an hour or so of scripting work to draft and test.

I’m going overseas mid-week, not aiming to be back for a week or two, so unlikely to be be able to undertake that for a while. Others might.

(Two macros and a style-sheet adjustment, perhaps packaged as a Keyboard Maestro palette for TaskPaper, I think)

The macros might be:

  • toggle named tag in all selected rows (e.g. perhaps toggle @selected)
  • copy all tagged lines and clear the tag

(and the stylesheet adjustment would create a selection-like background, perhaps a slightly different colour from the default selection background, for any row containing the special tag)

1 Like