Is ^C^C command obsolete for ESC in Script files?

Is ^C^C command obsolete for ESC in Script files?

Anonymous
Not applicable
739 Views
1 Reply
Message 1 of 2

Is ^C^C command obsolete for ESC in Script files?

Anonymous
Not applicable
I have been trying to run a script file with Scriptpro in Map 6 to process 2600 DXF files to change various properties of the files. However, when I try to run the script file (as shown below) using "the insert command" the process fails. When I run AutoCAD Map 6 (new install with no customization of menus, keys, etc.) outside of Scriptpro and type in the commands manually I am able to break out of the insert command using the "ESC" key. Does "^C^C" or "*Cancel*" not equal the "ESC" key in a script file? If not, what does? AutoCAD Help text does not say what to use in a script file. Are there other ways to break out of this command at the "Specify insertion point" prompt? I just want to redefine the block properties, not change its placement, etc. Suggestions would be welcome. Thx. SCRIPT FILE TEXT -insert "010=D:\DXF\010" ^C^C *Cancel* -PURGE ALL * N SAVE Y FILEDIA 1 .QUIT Y
0 Likes
740 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Use this as a double Cancel: (command)(command)

This is an Autolisp expression.

 

Regards,

Reinaldo



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
have been trying to run a script file with Scriptpro in Map 6 to process 2600
DXF files to change various properties of the files. However, when I try to
run the script file (as shown below) using "the insert command" the process
fails. When I run AutoCAD Map 6 (new install with no customization of menus,
keys, etc.) outside of Scriptpro and type in the commands manually I am able
to break out of the insert command using the "ESC" key. Does "^C^C" or
"*Cancel*" not equal the "ESC" key in a script file? If not, what does?
AutoCAD Help text does not say what to use in a script file. Are there other
ways to break out of this command at the "Specify insertion point" prompt? I
just want to redefine the block properties, not change its placement, etc.
Suggestions would be welcome. Thx. SCRIPT FILE TEXT -insert "010=D:\DXF\010"
^C^C *Cancel* -PURGE ALL * N SAVE Y FILEDIA 1 .QUIT Y
0 Likes