cs4 bug with selectAll/contract breaks script

Bugs and Anomalies in Photoshop excluding Scripting and Actions

Moderators: xbytor, DavideBarranca, Paul MR

sabru

cs4 bug with selectAll/contract breaks script

Postby sabru » Thu Jan 07, 2010 10:08 pm

I have a number of scripts that break in cs4 because they try to selectAll and then contract/feather/expand etc.. Has anyone run into this here? I tried to find it in the forum with no success.

Tried to correct it with a selection array based on the corners of the canvas, but broke again when a function tried to use invert and expand to exclude areas from the selection, as below;

selectColorRange/invert/expand/invert - yealding a full selection

I can't see this being considered an addition to photoshop by adobe so I am assuming it's a bug. Any help would be greatly appreciated. Thanks!

Mike Hale

cs4 bug with selectAll/contract breaks script

Postby Mike Hale » Fri Jan 08, 2010 12:05 am

There is a known issue when the selection is the same as the document bounds. I will leave it up to Adobe to call it a bug. Because in the GUI all menu items under Select-Modify are grayed out except for border, it may be that is expected behavior.

For contract you can use scriptlistner to transform the selection and scale down.

For feather you still have to transform to get the selection away from the edge of the canvas. Once that is done you can feather.


Return to “Photoshop Bugs and Anomalies”

Who is online

Users browsing this forum: No registered users and 1 guest