Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.21 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.21 KB

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