Rasterize layerstyle

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

rechmbrs
Posts: 2
Joined: Thu Jan 05, 2017 10:19 pm

Rasterize layerstyle

Post by rechmbrs »

I had problem using atn2jsx routine where I am trying to rasterize a layerstyle.
When building the jsx this is created but doesn't work: PSEvent.Rasterize = cTID('Rstr'); ( code from in atn2jsx is PSEvent._add("Rasterize", "Rstr"); )
In searching found that atn2jsx should create: PSEvent.Rasterize = sTID('rasterizeLayer'); for the created jsx file to work with PSCC2017. I would suspect that Javascript is not using the same documentation.

Please forward to whomever maintains atn2jsx and Xtools.

Thanks,
RONC
xbytor
Posts: 22
Joined: Thu Jan 01, 1970 12:00 am

Re: Rasterize layerstyle

Post by xbytor »

There is a file in xtools (xtools/xlib/PSConstants.js) that contains the definition for PSEvent.Rasterize. It is automatically generated from header file in the PS SDK. The simplest thing for you to do is edit PSContants.js so the definition is correct.
In the meantime, I'll take a look at things on my side to figure out what's going on.
rechmbrs
Posts: 2
Joined: Thu Jan 05, 2017 10:19 pm

Re: Rasterize layerstyle

Post by rechmbrs »

This ever get fixed?

RONC