Spencer bf5e4f9b99 V2.0 update
## Features 

### Open
* Now returns the activeDocument after opening the file.

### JSLayer()
* Removed semicolon from output.

### Document
* Added FullName() which returns path to the .psd file.
* Changed Filename() to DumpFile(), as Filename was misleading.
* Dump function now saves the file as well,
to help reduce the frequency of de-syncs.
* Dump function now saves json files alongside the .psds
instead of in a separate data folder- encountered issues when using
the package as a module in go 1.11beta2.
* Added Save()

## Testing
* Added TestDocument_Save
* Added TestDocument_Dump

## Misc.
* Renamed pkgpath to pkgPath, to better fit go's standards.

## Fixes
* DoAction now runs correctly.
2018-07-24 20:36:02 -04:00
2018-07-24 20:36:02 -04:00
2018-07-23 13:32:40 -04:00
2018-06-18 23:51:52 -04:00
2018-07-24 20:36:02 -04:00
2018-06-18 23:51:52 -04:00
2018-07-23 13:32:40 -04:00
2018-07-22 19:14:26 -04:00
2018-07-24 20:36:02 -04:00
2018-07-24 20:36:02 -04:00
2018-07-24 20:36:02 -04:00
2018-06-04 02:10:50 -04:00
2018-07-05 16:07:10 -04:00
2018-07-24 20:36:02 -04:00
2018-02-04 22:47:35 -05:00
2018-07-23 13:32:40 -04:00
2018-07-22 19:14:26 -04:00
2018-07-24 20:36:02 -04:00
2018-07-24 20:36:02 -04:00
2018-06-18 23:51:52 -04:00
2018-07-24 20:36:02 -04:00
2018-06-18 23:51:52 -04:00

logo

ps

GoDoc Build Status Coverage Status Go Report Card

import "github.com/sbrow/ps"

Overview

Package ps is a rudimentary API between Adobe Photoshop CS5 and Golang. The interaction between the two is implemented using Javascript/VBScript.

Use it to control Photoshop, edit documents, and perform batch operations.

Currently only supports Photoshop CS5 Windows x86_64.

Installation

$ go get -u github.com/sbrow/ps

TODO

sbrow: (2) Make TextLayer a subclass of ArtLayer.

sbrow: Reduce cyclomatic complexity of ActiveDocument().

sbrow: refactor Close to Document.Close

Documentation

For full Documentation please visit https://godoc.org/github.com/sbrow/ps


Generated by godoc2md

Languages
Go 66.3%
JavaScript 17.3%
VBScript 16.4%