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

Re: Need help cleaning up a script and adding loop

$
0
0

Awesome! Thanks again! You've been so helpful. I will test this and get back to you if I have any questions!  As for the issue, Here's a PSD that illustrates the issue. It seems that if you have the scale of the smart object set to a decimal integer, it adjusts the scale on one side slightly after it opens the smart object and places the blank layer inside.  The W/H of the smart object in this PSD example is 88.73% and after you run the labeler, it becomes 88.73 x 88.95.  I've modified the output slightly since in my use case all smart objects are scaled equally on both sides, so I just have it outputting the W percentage. (example.psd @ x%)  That's the only thing I've changed from your script. So it seems like perhaps when the blank layer is being placed into the SO that's where the adjustment is happening. It's not a huge deal, but would be curious to see if you have any ideas on how to fix it.

 

Thanks!

 

Sample file here:

scale_test.psd - Box


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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