Need Help Creating Action to Find/Execute JXA Scripts

Sharing and discussing custom actions for LaunchBar
JMichaelTX
Posts: 5
Joined: Mon Sep 05, 2016 10:43 pm

Need Help Creating Action to Find/Execute JXA Scripts

Postby JMichaelTX » Thu Apr 27, 2017 12:07 am

Hi all! I need a little help writing my first LB Custom Action.
Running LaunchBar 6.8 (6140) on macOS 10.11.6.

I want an Action that will work like the AppleScript Category, except that it has a built-in filter that the script file name must contain "JXA".

So, in Spotlight syntax, it would be:

Code: Select all

kind:script name:JXA

plus whatever the user is typing into LB.

It seems that the KB "AppleScript" Category applies the "kind:script" qualifier automatically.

I'm pretty familiar with both AppleScript and JXA, but I know almost nothing about writing LB Custom Actions.
So, for my first Custom Action, please be very explicit in any suggestions/instructions you provide.

TIA for all your help.

Return to “LaunchBar Actions”

Who is online

Users browsing this forum: No registered users and 4 guests