Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11308
    ldm
    Participant

    Hi All,

    There is an option to set a keyboard shortcut for the Sticky Vertical Mode… What’s Java command should I use in order to add this action to my macro?

    Thank you!

    #11311
    Yutaka Emura
    Keymaster

    Please see Command Reference

    http://www.emeditor.com/help/cmd/edit/vertical_mode.htm

    editor.ExecuteCommandByID(4473);
    #11314
    ldm
    Participant

    ok, how can I check whether I’m in the Vertical Mode using a Java Script?

    Is it possible to change a carret or mouse pointer when I’m in the Vertical Mode?

    How can I exit the Vertical Mode using Java scripting?

    Thank you

    #11317
    Yutaka Emura
    Keymaster

    Hello,

    You can use QueryStatusByID Method to find whether you are in the Vertical Mode.

    http://www.emeditor.com/help/macro/editor/editor_querystatusbyid.htm

    To exit from the vertical mode, you can run this command again.

    There is no way to change a carret or mouse pointer when you are in the Vertical Mode. I will consider that in the future version. Alternatively, you can add the toolbar button. You are in the Vertical Mode if the button is press.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.