Hello,
Right now I have this code for taking a files contents and putting it into photoshop. Im trying to expand on this.
I want applescript to let me either choose the file I want it to use or even better just take a list of these files. Input them into Photoshop and Save As "###.psd".
Example:
Folder 1 contains txt files John.txt and Jack.txt.
use first file
use its contents in photoshop
save as john.psd
use second file... repeat
save as jack.psd
My mind is all over the place with this one so anything will help.
Right now I have this code for taking a files contents and putting it into photoshop. Im trying to expand on this.
I want applescript to let me either choose the file I want it to use or even better just take a list of these files. Input them into Photoshop and Save As "###.psd".
Example:
Folder 1 contains txt files John.txt and Jack.txt.
use first file
use its contents in photoshop
save as john.psd
use second file... repeat
save as jack.psd
My mind is all over the place with this one so anything will help.
Code:
set theNames to ("/Users/myname/Desktop/TEST.txt" as «class utf8»)
set lastName to second paragraph of theNames
tell application "Adobe Photoshop CS5"
get properties of art layer 3 of current document
set kind of art layer 3 of current document to text layer
get properties of text object of art layer 3 of current document
get contents of text object of art layer 3 of current document
set contents of text object of art layer 3 of current document to lastName
end tell
Last edited: