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

Re: Changing text with Applescript changes font attributes

$
0
0

I was trying to process a pile of images to open, move a layer into a new template, resize it, change one of two text layers based on the filename of the source image, then save the template as that name with a "CSTM" suffix to a different folder.

 

Even though I got everything to work (usually), I was still running into random issues as it was trying to process all the files in the folder. Likely something I was doing wrong, but roughly three images would work fine, then the fourth would hang on a line of code that had worked flawlessly on the other three (all images were based off the same template so seems like they should have all worked). Repeated attempts on a single file would work  sometimes, sometimes not, before it even got to the type. It was baffling. So I just did them by hand. Took less time than fighting with the script for another day.

 

I didn't think swapping over to JavaScript would make things necessarily magically start to work, just figured JS support would be more robust/consistent than AS.


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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