jlyonsmith / streamdeck-osascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

streamdeck-osascript

Description

Run OSA Script is a plugin that allows you to run arbitrary OSA language scripts (AppleScript and JavaScript for automation). It's based on the plugin streamdeck-applescript but this one has been rewritten from the scratch to update it to the Stream Deck SDK v2.

Features

  • code written in Objective-C
  • macOS only
  • executes AppleScript scripts
  • executes JXA (JavaScript for automation) scripts

Installation

In the Release folder, you can find the file com.gabrielperales.osascript.streamDeckPlugin. If you double-click this file on your machine, Stream Deck will install the plugin.

Source code

The Sources folder contains the source code of the plugin.

Examples

Open VS Code

var code = Application('Visual Studio Code');
code.activate();

Resources to learn AppleScript and JXA

About

License:MIT License


Languages

Language:JavaScript 33.8%Language:CSS 29.9%Language:Objective-C 27.2%Language:C 6.9%Language:HTML 2.1%