InDesign JavaScriptで修飾字形の指定

「修飾字形の指定の仕方を教えてください」という投稿があったのでこちらにもメモ。 実は今まで使う機会がなかったので、色々テストした結果がこれ。テキストフレーム中に文字カーソルを立てて次のスクリプトを実行すると3文字入力されます。
var ch = app.selection[0];
ch.contents ="\u2673";
ch.opentypeFeatures =[["aalt",9]];
ch = app.selection[0];
ch.contents ="\u2673";
ch.opentypeFeatures =[["aalt",5]];
ch = app.selection[0];
ch.contents ="\u2673";
ch.opentypeFeatures =[["aalt",20]];