Draftsight command syntax in script files

Hi.

I have converted a large PDF to a lot of dxf files.

 

I now have hundreds of files to bring into a single DWG file

I only want to select the same area in each file and do a copy with reference point.

when using the SCR file I can draw lines etc. But I can not get the select command to select several areas and then process the next command.

in the command window it is sitting at select: and waiting for further input.

 

Is there a command reference document for the script syntax for commands?

 

The HELP says open command history and copy it

Specify entities»

: ._MAINSELECTSpecify opposite corner:

: ._MAINSELECT

: ._MAINSELECTSpecify opposite corner:

: ._MAINSELECTSpecify opposite corner:

: ._MAINSELECTSpecify opposite corner:

: ._MAINSELECTSpecify opposite corner:

:

: _COPY@

Specify reference point»

3 found, 48 total

: COMMANDHISTORY

copy and pasting this to a text document does not produce a working script file

 

THX