Stream Deck plugin to automate the mouse in macOS.
streamdeck link com.dtrt.clicker.sdPlugin/
If you receive the error Linking failed due to a UUID clash
cd ~/Library/Application\ Support/com.elgato.StreamDeck/plugins/ && unlink com.dtrt.clicker.sdPlugin/
# rebuild and restart the plugin after code changes
# note: you may have to delete the instance from the button and drag a new one in to see changes to `States` or Property Inspector
npm run watch
To quit Stream Deck app, use the icon in the top right menu bar.
import streamDeck, { LogLevel } from "@elgato/streamdeck";
const logger = streamDeck.logger.createScope("Clicker")
logger.setLevel(LogLevel.TRACE);
logger.error('...');
logger.info('...');
console.log('...');
The default debugger is available at http://localhost:23654/ but it can be slow to debug layout here.
Since all paths are relative, another option is to open /com.dtrt.clicker.sdPlugin/property-inspector/inspector.html
directly in a web browser.
com.dtrt.clicker.sdPlugin/bin/plugin.js