タブ区切りの入力ファイル (入力ファイルには ID と説明の 2 つの列があります) からデータを読み取るための JSX を作成しました。入力ファイルを読み込んで説明をテキストレイヤーに配置し、ファイル名にIDをつけて保存したいです。
説明フィールドの文字と数字の場合に機能します。ただし、説明に (é) がある場合は機能しません。
var Description = "on the ***pavé***";
textlayer.textItem.encoding = "UTF-8";
textlayer.textItem.contents = Description;
textlayer.textItem.tracking =50;
textlayer.textItem.wrapBend=70;
var saveFile = new File(outputfolder + "\\" + ID + "_16.psd");
saveFile.encoding="UTF-8";
app.activeDocument.saveAs( saveFile, saveOptions, true );