Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26468
    Werner
    Participant

    How can I quickly activate the virtual space.
    Now I always have to go to the properties first to activate the checkbox. A button is missing here …

    #26470
    Yutaka Emura
    Keymaster

    Hello,
    You can write a macro like this:

    cfg = document.Config;
    general = cfg.General;
    general.VirtualSpace = !general.VirtualSpace;
    cfg.Save();

    then assign this macro as a keyboard shortcut or toolbar button.

    #26477
    Werner
    Participant

    Thank you, it worked.

    #26483
    LTT
    Participant

    @Yutaka ,

    Is it possible to enhance #status directive to support the options (properties), for such macros?

    —————
    emeditor_en.chm::/macro/directive/status.htm
    Specifies the status (whether the macro is enabled and whether it is checked) of the current macro should mimic the command specified by the ID.
    ▲ “which” is missing before “should”?

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