Tools Menu Example (Magic xpa 4.x)
[TOOLS_MENU]
Menu1 = A,&Search and Replace Tool,,Add_On\SearchReplace.ecf,Ctrl+W,pre.txt, post.txt,
Menu2 = O,&Notepad, ,notepad.exe magic.ini,,,,
Menu3 = S,,,,,,,
Menu4 = M,S&ub Menu,,,,,,
Menu5 = M,&My Wizards,Menu4,,,,,,
Menu6 = A,Wizard &1,Menu5,Add_On\wizard1.ecf,,,,
Menu7 = A,Wizard &2,Menu5,Add_On\wizard2.ecf,,,,
Menu8 = A,Wizard &3,Menu5,%Tools%wizard3.ecf,,,,
Activating the Search and Replace Tool menu option results in the following steps:
-
Runs the operations listed in the pre.txt operation file (for example, exporting the application).
-
Closes the current application.
-
Opens the SearchReplace cabinet file in the current Magic xpa engine.
-
When the SearchReplace.ecf closes, Magic xpa automatically returns to the original application.
-
Returns the list of operations in the post.txt operation file (for example, importing an application).
When you select the Notepad menu option, Windows Notepad opens with the Magic.ini file.