Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Help with ME specific option – story direction #62497

    Here your solution:

    var myDocument = app.documents.item(0);

    var myPage = myDocument.pages.item(0);

    var myTextFrame = myPage.textFrames.item(0);

    var myTextObject = myTextFrame.parentStory.characters.item(0);

    main ();

    function main ()

    {

    try

    {

    if (app.selection[0].parentStory.storyPreferences.storyDirection == StoryDirectionOptions.rightToLeftDirection)

    app.selection[0].parentStory.storyPreferences.storyDirection = StoryDirectionOptions.leftToRightDirection

    else

    app.selection[0].parentStory.storyPreferences.storyDirection = StoryDirectionOptions.rightToLeftDirection

    }

    catch (_){}

    }

    Thank you M.,

    unfortunately I am PC user.

    I 've alredy done a windows palette using java script UI but I don't get to link the text inputed with the function I want.

    I also would like the palette don't close after pressed OK button.

    Sami

    in reply to: Special numbering #61634

    Thank you, Eugene, for the answer.

    Sami

Viewing 3 posts - 1 through 3 (of 3 total)