Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Pasting multiple items

Jason Milkins edited this page Aug 17, 2023 · 21 revisions

You can select multiple pasteboard items and paste them all back at once.

  1. Open CutBox with Cmd + Shift + V
  2. Search/Select some items with the mouse / keyboard
    • The order you select items is preserved
    • Preview will show you the paste output as you change item selection
  3. Press Enter to paste what you can see in preview

Let's say you had these words in your CutBox history as separate items, copy them one by one to try this out for yourself.

Items in CutBox History
Hello
World
Foo
Bar

We'll select them in this order: Foo, Bar, Hello, World.

Press Enter and CutBox will paste:

Foo
Bar
Hello
World

Join & Wrap options

Join and wrapping features for multiple items.

Join

In Advanced preferences you can set the join type New Line or Text

Select Text and set the string to , so that our multiple items are pasted like this:

Foo, Bar, Hello, World

*** Wrapping

Enable wrapping in preferences to surround the items with a start and end string. For example let's paste our items like this:

("Foo", "Bar", "Hello", "World")

We'd set wrapping on and set the start string to: (" and end strings to: ")

Using join and wrap can paste items in a lot of different ways, it's pretty useful if you're working with lists of items.

If you want to use special text and new lines, use the \n newline character in any of these strings, as required.

Keyboard shortcuts

Join and wrap have key commands to toggle their state.

  • Toggle join mode: Cmd -
  • Toggle wrapping mode: Cmd [

If you exhaust the potential of join & wrap, you can always paste through Javascript or shell commands. (see: Javascript-support-in-CutBox)