Arbortext IsoDraw > Macro Language Reference > 3D and User Interaction Commands > Further Macro Commands > Edit
  
Edit
Applies to Arbortext IsoDraw 7.0 F000 and later:
The EDIT command starts a text editing application, such as Windows Notepad (notepad.exe). If the EDIT command line includes a macro name, the macro file containing that macro opens in the editing application.
EDIT"app""macroname""opt"
app
(string) The path and file name for the text editing application.
macroname
(optional; string) The name of the macro to edit. If macroname is omitted—or if an empty string (" ") is passed—the Select macro dialog box opens so the macro name can be selected manually.
opt
(optional; string) A text editor start-up command option, such as search string. This option enables some text editing applications to open a file to a line containing a specific string, such as a command or parameter value.
* 
Not all editing applications support this feature—and those that do have different start-up command line syntax rules. See the editing application documentation for more information.
The EDIT command returns the process ID of the text editing application if it starts successfully, or zero if the application fails to start.
# This Edit command opens the Select macro dialog box.
# Manually select the macro to edit:

EDIT "C:\WINNT\system32\notepad.exe" ""
Select macro dialog box
# This Edit command runs Notepad and opens
# the macro file example.ism which contains
# the macro example1:

EDIT "C:\WINNT\system32\notepad.exe" "example1"
Editing macro file in Notepad