Clip Trigger
Clip Trigger lets you issue commands without leaving your current application.
How to use it
Let's say you're developing a website and need some Bacon Ipsum. From your text editor you would:
- Copy the shortcode. In this case it's
bc
. - Paste your clipboard contents.
- See Bacon Ipsum!
Copy. Paste. Enjoy your bacon. That's all it takes to use Clip Trigger.
How it works
Clip Trigger is a background application that monitors your clipboard. When your clipboard content changes (i.e. after you've copied something to it), it checks to see if there's a predefined trigger "shortcode" and if so, executes a process.
Available Triggers
At present, the most useful triggers available are:
- Wunderlist Trigger: add items to your lists
- Spotify Trigger: Control Spotify playback, add the currently playing song to your starred list, play a specific playlist
Getting Started
- Navigate to the Clip Trigger releases page
- Click the
ClipTrigger-X.X.X.dmg
link to download it - To bypass the mac OS security block, use
Control
-Right Click
toOpen
the downloaded.DMG
file - Drag
ClipTrigger
to yourApplications
folder - Open your
Applications
folder - Again, to bypass the mac OS security block, use
Control
-Right Click
toOpen
theClipTrigger
app that exists inside yourApplications
folder - Open the menu from the Clip Trigger icon (in your system tray)
- Select
Triggers
to open the Trigger Directory - Click Install for any triggers you'd like to use
- Check out the "More Info" links from within the Trigger Directory for details on how to use each particular trigger
Note: Clip Trigger doesn't come with any pre-installed triggers, so you'll need to install some to begin using it.
Creating Custom Triggers
You can create your own triggers using JavaScript.
Use the code from the Hello, World trigger and the Bacon Ipsum trigger to see how to structure a trigger.
Place your newly created trigger inside the folder:
~/Library/Application Support/ClipTrigger/triggers
Restart Clip Trigger and test out your new trigger.
If you'd like to share your trigger with the world, add it to the Clip Trigger Directory repo.
Caveats
- if your clipboard contains content, and you copy the exact same content to your clipboard, Clip Trigger won't pick up that you've copied something new to your clipboard. If you're having trouble, trying copying 'abc' to your clipboard, and then try copying your desired trigger again.