how to change the font of selected text by applescript

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Kukurykus, Tom, xbytor

jacky
Posts: 1
Joined: Tue Apr 19, 2022 8:20 am

how to change the font of selected text by applescript

Post by jacky »

Hi all:
I am developing a font tool to assist designers to quickly modify the font of selected text in Photoshop (or Illustrator). It is found that the following code does not work.


tell application "Adobe Photoshop 2020"
activate
set propertiers of selection of current layer of current document to {font:"Herculanum"}
end tell
need your help.
thanks.

User avatar
txuku
Posts: 138
Joined: Thu Jan 01, 1970 12:00 am

Re: how to change the font of selected text by applescript

Post by txuku »

Bonjour

Applescript is little used here ..............

You should have been to JavaScript and the .jsx scripts! :)