piezo-applescript

0.1.0 • Public • Published

piezo-applescript

Control Piezo using AppleScript

Installation

$ npm install piezo-applescript

Usage

const piezo = require('piezo-applescript')
 
;(async () => {
  await piezo.toggleRecording()
})()

API

piezo.toggleRecording()

Starts or stops recording. Returns a Promise.

Caveats

To control Piezo, piezo-applescript simulates the Command-R keyboard shortcut since Piezo itself is not scriptable. Consequently, Piezo needs to be brought to the front every time you toggle recording. I’m hoping Rogue Amoeba will make Piezo scriptable in a future release.

Package Sidebar

Install

npm i piezo-applescript

Weekly Downloads

2

Version

0.1.0

License

ISC

Unpacked Size

2.69 kB

Total Files

6

Last publish

Collaborators

  • sonicdoe