{"repo":"hhas/nodeautomation","free":true,"listed":false,"github":"https://github.com/hhas/nodeautomation","clone":"git clone https://github.com/hhas/nodeautomation.git","description":"macOS Apple event (“AppleScript”) bridge for Node.js","language":"JavaScript","stars":34,"topics":["javascript","automation","applescript"],"license":null,"category":"workflow-automation","readme_excerpt":"nodeautomation NodeJS ↔ Apple event ('AppleScript') bridge (experimental) About NodeAutomation is a Node.js module that allows 'AppleScriptable' applications to be controlled directly from JavaScript. For example, to get the value of the first paragraph of the document named 'README' in TextEdit: app('TextEdit').documents.named('README').paragraphs[0].get() This is equivalent to the AppleScript statement: tell application \"TextEdit\" to get paragraph 1 of document \"README\" Or to create a new \"Hello World!\" document in TextEdit: app('TextEdit').make({new: k.document, withProperties: {text: \"Hello World!\"}}) Install Usage $ node require('nodeautomation/repl'); const finder = app('Finder'); finder.home(); app('Finder').startupDisk.folders.named('Users').folders.named('jsmith') Documentation Documentation is preliminary, being a quick and dirty translation of the original appscript manual. Documentation is included in the nodeautomation package and online: https://hhas.github.io/nodeautomation/ Tools ASDictionary and ASTranslate tools: https://sourceforge.net/projects/appscript/files/ Status Caution: This is an experimental release. There will be bugs and rough edges. E&OE. No warranty given. Use at own risk. Etc. See also: https://appscript.sourceforge.io/status.html Dependencies - @hhas01/objc -- https://github.com/hhas/objc (forked from lukaskollmer/objc) - @napi-ffi/ffi-napi -- https://github.com/napi-ffi - @napi-ffi/ref-napi - @napi-ffi/ref-struct-di - libxmljs2 Known issues ","default_branch":null,"files":null,"tree":[],"storefront":"/r/hhas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hhas/nodeautomation/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}