Shell command works in terminal but not as a Launchbar action

Sharing and discussing custom actions for LaunchBar
jmm
Posts: 1
Joined: Sat Nov 18, 2017 1:55 am

Shell command works in terminal but not as a Launchbar action

Postby jmm » Sat Nov 18, 2017 2:08 am

The script below works in Terminal but it doesn't in Launchbar. It generates a unique identifier and sends it to the clipboard.

Code: Select all

#!/bin/sh
#
# LaunchBar Action Script
#
uuidgen | pbcopy


This is what I have done so far:
- I have created an action that is stored in /Users/myself/Library/Application Support/LaunchBar/Actions/Generate Unique Identifier.lbaction
- I have chmod u+x /Users/myself/Library/Application Support/LaunchBar/Actions/Generate Unique Identifier.lbaction/Contents/Scripts/default.sh

Thanks in advance.

Return to “LaunchBar Actions”

Who is online

Users browsing this forum: No registered users and 2 guests

cron