![]() I expect to build other useful scripts in the months ahead. The documentation is accurate and detailed which is not always the case many application API’s. The experience of writing code for Photoshop has been good overall. That information gives me insight into how to accomplish various tasks with or without scripting. I have learned some very useful things about how Photoshop operates by analyzing the API model. This is the first time I have created code to script or automate Photoshop. This allows me to extend or repurpose functionality as necessary. Coding was done using normal object oriented techniques. Table driven configuration allows for great flexibility in layout and template selection. Right now I’m working on a series of custom postcard templates which will also use the generator. The application lends itself quite easily to other uses where templates and dynamic data are combined to produce finished documents. This will be useful for my yearly compilation of calendar images in book form. Eventually it will contain all information and images required to create any previous calendar. Right now configuration and logging data are the primary items stored. A SQLite database is used to store various kinds of information for the generator. I can enter all necessary information and kick off the generator which is about all that is required. Future projects will likely be coded in JavaScript or ExtendScript to make them platform independent. Of course this approach limits me to running under Windows but that is what I use anyway. As mentioned in the last post, external automation provides many more options for integrating functionality that cannot or should not be scripted to run directly in Photoshop. This project was put together using Visual Studio 2015 and VB.Net. ![]() I used it to generate last week’s Friday Photo calendars without a hitch. The coding on the calendar generator was completed about a week ago. Creating two calendars a week is not all that labor intensive but creating two calendars fifty two times a year is something worth automating. Actually two calendars are produced every week with North America and international weekday formats. Phototrice includes a new calendar every week as part of our regular Friday Photo feature. A couple of weeks ago I wrote a post about my Photoshop automation project for generating single page photo calendars.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |