https://github.com/tjx666/adobe-jsx
command line tool to execute adobe extendscript .jsx file
https://github.com/tjx666/adobe-jsx
adobe aftereffects cli command-line-tool extendscript jsx photoshop
Last synced: about 1 month ago
JSON representation
command line tool to execute adobe extendscript .jsx file
- Host: GitHub
- URL: https://github.com/tjx666/adobe-jsx
- Owner: tjx666
- License: mit
- Created: 2022-10-20T20:40:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-23T21:10:41.000Z (over 3 years ago)
- Last Synced: 2025-03-29T22:34:44.148Z (about 1 year ago)
- Topics: adobe, aftereffects, cli, command-line-tool, extendscript, jsx, photoshop
- Language: JavaScript
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# adobe jsx
[](https://www.npmjs.com/package/adobe-jsx)   [](https://github.com/tjx666/adobe-jsx/pulls)
command line tool to execute adobe extendscript `.jsx` file
## Install
```sh
# npm
npm i -g adobe-jsx
# pnpm
pnpm i -g adobe-jsx
```
## Usage
### command line
After installation, you can use command `jsx` to execute the jsx script.
```sh
jsx /path/to/jsxScript.jsx
```
### node api
```typescript
import { evalJsxFile, evalJsxScript } from '../src/jsx';
evalJsxScript(`alert('hello world')`);
async function main() {
const output = await evalJsxScript(`$write('666')`);
console.log();
}
```
## TODO
- [x] tests
- [x] support `$.write/$.writeln` redirect to stdout
- [ ] get eval JSX result and error
- [ ] support access `jsx` command arguments
- [ ] support specify adobe app and version
- [ ] provide node api to execute jsx
- [ ] support AE
- [ ] support windows