Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: Scale Photoshop layer using AppleScript

$
0
0

Hi Mark,

 

My aim was to accomplish transferring the relative scale of a series of images in an InDesign layout to a master Photoshop layered file. The conversion subroutine was needed to get that relative scale. The issues not seen is that some of these images were transferred into the Photoshop file at large scale percentages (more than 100%).

Manually I would take the calculated scale percentage and just enter that into the size fields in the Transform options bar. What I hoped would happen, is that this script action would simply enter that calculated percentage into the scale percent. What it did, instead, is multiply the current scale percentage of the layer by the calculated percentage. So if the layer contents were 100%, it worked fine. But if the layer was set to anything over 100%, the results were not what I actually wanted.

 

Thanks for the help anyway. There are still severe limitations to what you may accomplish via AppleScript. Are we all going to have to abandon it for JavaScript?


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>