When programming scripts for Photoshop, you sometimes need to know Photoshop's internal name for a font. That name almost always differs from the name presented in the drop-down list of fonts. For example, the internal name for the Arial font is “ArialMT.”
A simple way to find out the internal name of a font is to create a text layer using the font, then invoking this Show Font Name.jsx script from within Photoshop. When executed, an alert will pop up showing the internal name of the font.
If you don't know how to install a Photoshop jsx file, mimic the install instructions provided on the page for my calendar-building script.
Leave a comment...
Word… Nicely done, really helped me! Keep it up!
Thank you sooooooooooooooooo much! This was driving me crazy.
from Vancouver
so when I try to right click open with ps cs6, it causes an error (1302 there is no such a file)
//I have a hungarian version, so in English it might be different.
line 6
->if (app.activeDocument.activeLayer.kind=LayerKind.TEXT)
I cant try out the other method, (file menu script), casue ther isnt one.
It’s been years since I looked at this, and of course CS6 wasn’t around then, but are you sure you had a text layer currently selected as the active layer when invoking the script? —Jeffrey
Wow I tought u would never replay 😀
That was the problem, thank you 😀