Copy multiple selected items?

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

Thanks!

Iā€™m not quite sure what you mean. Do you mean copy all selected items that are indented one level (while excluding there selected parents) Can you give an example?

Generally probably there is not a way in the standard UI, but it should be possible to write a script that does what you want. (Once Iā€™m more sure of what that is)

1 Like

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!