javascript - Get parameters of slices in photoshop -
i have slices in photoshop document.
how can parameters (width, height, x-offset, y-offset, name, url, ...) via javascript > scripting in photoshop?
@sublimeye, have same quest, , date, there has been no solution available. adobe scripting in javascript has no way see application model gain access slices. so, after of own research, best solution have found presented me trevor morris (http://morris-photographics.com/photoshop/scripts/index.html). paid trevor $500+ write script uses layer group of "slices" , each layer comp there corresponding shape layer. javascript can see groups, layers, , shape layers script can crop , save web nicely. downside cannot use slicing tool, adopting of script has been minimal our design team.
after still having problem years, tried search again found adobe forum http://feedback.photoshop.com/photoshop_family/topics/slice_compositions_that_work_like_layer_compositions , link slicemaster tool enzo http://www.electriciris.com/slicemaster.html. tool allows multiple slices per document stored slice sets in layers. quest automate layer comps layer slice sets, think similar yours. have question out enzo see if can write or plans write automation.
i think way want using adobe photoshop sdk plugin written in c++ code, not script in javascript. downloaded sdk , i'm peeking @ c++ codes see if solution can made.
however, i'm hoping enzo can make solution since photoshop sdk developer... stay tuned!
Comments
Post a Comment