Is this feature available on launch bar and if so, how exactly would I do that. Any help would be greatly appreciated.

A text document whose filename ends with a special .clip.txt or .clip.rtf filename extension is treated as a Text Clip File. Opening such a file via LaunchBar inserts the file’s contents in the frontmost application.
You can use this feature to quickly insert predefined text blocks in the currently edited document.
Denis wrote:Strangely, this command used to appear in LaunchBar 4's menus but doesn't in the LaunchBar 5 beta 1. But the keyboard shortcut still works. Hopefully, this is only an oversight in the new beta.
norbert wrote:The command should still be there. Please check LaunchBar Preferences > Appearance > Compact Action Menu. Is this option set?
jpcirrus wrote:It's in the menu accessed from the gear icon in the LB bar -- also accessed with ⌃→
Dennis wrote:[*] Use LaunchBar's Text Clips feature. From LaunchBar help:A text document whose filename ends with a special .clip.txt or .clip.rtf filename extension is treated as a Text Clip File. Opening such a file via LaunchBar inserts the file’s contents in the frontmost application. You can use this feature to quickly insert predefined text blocks in the currently edited document.
bigcloits wrote:Can anyone enlighten me?
Code: Select all
-- New TextClip LaunchBar Action by ludwigschubert
-- If the string is empty, use the clipboard :)
my handle_string(the clipboard)
on handle_string(input)
if input is "" then set input to the clipboard
set clipFolder to POSIX file "/Volumes/Path To Your/Text Clips/" as string
set clipName to input
if length of clipName > 40 then set clipName to characters 1 through 40 of clipName
set clipFile to clipFolder & clipName & ".clip.txt"
try
set open_file to ¬
open for access file clipFile with write permission
-- erase current contents of file:
set eof of open_file to 0
write input as text to open_file starting at eof
close access open_file
on error
try
close access file clipFile
display dialog "Error"
end try
end try
open location "x-launchbar:hide"
end handle_string