Friday, May 12, 2017

Fixing WinEdit MDI event handler macros error.

Environment
     OS: Windows 7 32bit
     WinEdit v5.4 (build: 20050201)

Error :

   

Possible Reason: 
     Either the path mentioned is wrong OR the macro file "MDIOpen.edt" is accidentally deleted.

How to Fix this Issue?
 Follow below steps

1.  Open WinEdit 5.4 program.
2.  Go to "Options" menu and select "Preferences" submenu.
3.  Click on "MDI Events" tab.

4.  Now check all four paths. The directory of all files (MDIOpen-Before.edt, MDIOpen.edt, MDIActivate.edt and MDISave.edt) must be same.

Here %b represent "C:\Program Files\WinEdt Team\WinEdt" path.
Now let's check two directories:
                 First  "C:\Program Files\WinEdt Team\WinEdt\Macros"
                 Second: "C:\Program Files\WinEdt Team\WinEdt\Macros\Events"

First Directory  "C:\Program Files\WinEdt Team\WinEdt\Macros ": 

Second Directory: "C:\Program Files\WinEdt Team\WinEdt\Macros\Events"


Now it is clear that the path in  MDI Events preference is WRONG.

5. Change the path from "[Exe("%b\Macros\MDIOpen.edt");]"  to "[Exe("%b\Macros\Events\MDIOpen.edt");]".


6. Now, restart the WinEdit program. Hope the error is fixed.

Let me know in the comment section if the error is NOT fixed.

-Thank you





No comments:

Post a Comment