Brackets to Photoshop (Brackets Extension)

Upload Photoshop Scripts, download Photoshop Scripts, Discussion and Support of Photoshop Scripts

Moderators: xbytor, DavideBarranca, Paul MR

JavierAroche
Posts: 29
Joined: Sat Jul 30, 2016 3:52 am

Brackets to Photoshop (Brackets Extension)

Postby JavierAroche » Sat Jul 30, 2016 4:46 am

Hey everyone,

I made a little Brackets extension called Brackets to Photoshop that executes a JSX file in Photoshop using the osa module (osascript).

It uses Photoshop's AppleScript API, so it only works on MacOS. You can find instructions in the repo.
https://github.com/JavierAroche/brackets-to-photoshop

It's compatible with these versions of Photoshop
Adobe Photoshop CC 2015.5
Adobe Photoshop CC 2015
Adobe Photoshop CC 2014
Adobe Photoshop CS6

Davide Barranca has a similar tool for Sublime, so 2 of the best text editors are covered! :D
http://www.davidebarranca.com/2013/05/s ... d-package/

Hope it's useful for someone!

User avatar
AntonioGomez
Posts: 8
Joined: Fri Jul 29, 2016 7:05 am

Re: Brackets to Photoshop (Brackets Extension)

Postby AntonioGomez » Sat Jul 30, 2016 4:01 pm

Cool 8-)

JavierAroche
Posts: 29
Joined: Sat Jul 30, 2016 3:52 am

Re: Brackets to Photoshop (Brackets Extension)

Postby JavierAroche » Wed Nov 16, 2016 10:13 pm

Hey guys,

I just updated my brackets-to-photoshop extension.
https://github.com/JavierAroche/brackets-to-photoshop

I included a good amount of features, I hope you find them useful when scripting for Adobe applications. The idea is to completely replace the ExtendScript Toolkit app, which is really buggy.

Here are some feature I added

* Added compatibility with multiple Adobe programs and versions
* Replaced osa module with node's exec
* Added maxBuffer to support strings up to 50mbs
* Included JSON and Array polyfill to use functions such as JSON.stringify, JSON.parse and Array.forEach
* Included console constructor to log information to console after the script is done executing
* Added ability to $.write and $.writeln to the console
* Include external files in your JSX script when document is saved
* Ability to select output in Brackets console
* Added execution time
* Cleaned up the console HTML / CSS


### Console Features

JSON polyfill included to use the following functions:
- JSON.stringify
- JSON.parse
- Array.forEach

Array polyfill included to use the following functions:
- Array.forEach

Added ability to log information to the console and use functions such as:
- console.log
- console.error
- console.info
- console.stringify (Logs to the console using JSON.stringify)
- $.write
- $.writeln


Target different programs by using #target photoshop / illustrator / aftereffects / indesign / bridge
Target different program versions by using #target photoshop-100 / photoshop-90, etc...

Hope you find it useful! Would love some feedback.

Happy scripting :)
Last edited by JavierAroche on Wed Nov 16, 2016 10:22 pm, edited 1 time in total.

User avatar
AntonioGomez
Posts: 8
Joined: Fri Jul 29, 2016 7:05 am

Re: Brackets to Photoshop (Brackets Extension)

Postby AntonioGomez » Wed Nov 16, 2016 10:20 pm

Cool 8-)


Return to “Photoshop Scripts”

Who is online

Users browsing this forum: No registered users and 18 guests