Copy and Paste

Copying the path or address of the selected item

If the selected item refers to a file or folder, the item’s Unix file path will be copied to the clipboard when you invoke the “Copy” command (Command-C). In case of a bookmark or contact item, the item’s URL or email address will be copied respectively.

In the Advanced pane of LaunchBar Preferences you can specify whether the copied file path shall be abbreviated with a tilde sign.

Copying file paths to Terminal

When you paste a copied file path into a Terminal window, be aware that paths containing space characters must be either escaped or quoted. You can use Terminal’s “Paste Escaped Text” command (Command-Control-V) for that purpose.

Copying file paths to Rich Text documents

When you paste a copied file path into a Rich Text document (e.g. an RTF file in TextEdit), the corresponding file will be inserted as an attachment. To insert just the file path as plain text you can use the “Paste With Current Style” command (Command-Shift-Option-V).

Copying File Contents

If the selected item refers to a text document (either plain text, rich text, HTML or PDF) or an image file (JPEG, PNG, etc.), you can use the “Copy File Contents” command to put the contents of that file on the clipboard.

Copy and paste with a single keystroke

The “Copy and Paste” command can be used to send the current selection (e.g. the selected file path, postal address, URL, etc.) to the frontmost application with a single keystroke (Command-Shift-C). It has the same effect as invoking Copy (Command-C), Hide (Command-H) and Paste (Command-V).

If the selected item refers to a text or image file, you can also invoke “Copy and Paste File Contents” (Command-Shift-Option-C) to send the file’s contents to the frontmost application with a single keystroke. You may use this command to quickly insert predefined text and graphic snippets in the currently edited document.

Pasting File Paths

Pasting a Unix file path into the LaunchBar window (Command-V) simulates a drag and drop of the corresponding file onto the bar, and the “Drop Action Menu” appears, allowing you to choose the desired action. You can e.g. select the file in LaunchBar to start file system browsing from that location, you can perform various file operations by pasting a file onto a folder, or open a file with a specific application by pasting it onto the desired app.

When you paste a file path onto a folder that’s selected in LaunchBar, the “Default Action” as defined in the Advanced pane of LaunchBar Preferences will not be performed to prevent accidental invocation. Instead you have to confirm the desired action by selecting the corresponding item from the pop-up menu. Note that this menu can also be navigated using the up/down arrow keys.

Pasting Abbreviations

If the pasted string is not a file path (determined by the string’s first character - a leading slash character indicates a path), the string will be interpreted as an abbreviation, and the matching items for this abbreviation will be searched.

Select From Clipboard

In contrast to an ordinary Paste (Command-V) the Select From Clipboard action (Command-Shift-V) does not simulate a drag and drop of the pasted data, but it always selects it in LaunchBar.

It recognizes URLs, email addresses and file paths. It detects abbreviated file paths (e.g. ~/Documents), multiple file paths (in separate lines) and incomplete URLs whose scheme prefix is missing (e.g. www.apple.com). If the clipboard doesn’t contain any of these data types, a text item is created instead.