Skip to content

gabrielperales/streamdeck-osascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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