Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19627

    QiaoJiao
    Participant

    I am using
    C:\path\to\EmEditor.exe path\to\file /mf path\to\macro
    to open file and run macro on it.

    It works great. BUT if file is already open, it just switches to it, without running macros.

    Why is this? How can I run macro from command line when file is open?

    #19630

    Yutaka Emura
    Keymaster

    Hello QiaoJiao,

    I will look into this issue.

    Thank you!

    #22591

    LifeTimer
    Participant

    Any news about this?

    I’m currently getting much problems from this issue too. 🙁

    Also one addition that might be of importance for reproduction/fixing of this:
    In my tests, it only seems like the provided macro refuses to execute if the document is already open in EmEditor and is the currently focused document in EmEditor (i.e. that it is in the editor tab that is currently selected in the EmEditor window when the command-line is executed).

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

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone