リンクをクリップボードにコピー
コピー完了
ExtendScriptでストーリーの組方向を変える方法はありますでしょうか?
対象のテキストフレームを選択した状態からとして、
var storyPref = app.selection[0].parentStory.storyPreferences;
if (storyPref.storyOrientation == StoryHorizontalOrVertical.HORIZONTAL){
storyPref.storyOrientation = StoryHorizontalOrVertical.VERTICAL;
} else {
storyPref.storyOrientation = StoryHorizontalOrVertical.HORIZONTAL;
}
などと。
リンクをクリップボードにコピー
コピー完了
対象のテキストフレームを選択した状態からとして、
var storyPref = app.selection[0].parentStory.storyPreferences;
if (storyPref.storyOrientation == StoryHorizontalOrVertical.HORIZONTAL){
storyPref.storyOrientation = StoryHorizontalOrVertical.VERTICAL;
} else {
storyPref.storyOrientation = StoryHorizontalOrVertical.HORIZONTAL;
}
などと。
リンクをクリップボードにコピー
コピー完了
storyのでは無く、storyPreferencesにプロパティがあるのですね
ありがとうございました。
新しいアドビコミュニティで、さらに多くのインスピレーション、イベント、リソースを見つけましょう
今すぐ検索