I’m trying to get SC to shell out
and load Edit Plus.
When I run
C:\SM11\SHARED\wedplus.exe command I would like to know
if it is possible to load two files at
once?
I’m trying to load the following two files
C:\SM11\MILL\JOSRPT\REPORT.TXT and #FILE
in Edit Plus so I can print both of them in one
session of Edit Plus.
Then when I’m done I Alt & F4 back into
SC.
STRING: #FILE
PROMPT[TX="What is the Drive, Sub-directory and
SmartCAM V4.5 File name\n
that you want to read?\n
Example: W:\BO3000\BO3456A",
VN="FILE"]
READ[FN=STRTMP("%FILE"), FT=0]// read in the .sh2
file
// this makes a tool sheet and saves it as
REPORT.TXT
REPORT_STEP[SS=0, SB=0, IJ=1,
FF="C:\\sm11\\MILL\\JOSRPT\\MSTEPRPT.FMT",
OF="C:\\sm11\\MILL\\josrpt\\REPORT.TXT", OD=1]
// this shells to DOS and loads the REPORT file into
Edit Plus so I can print it out for the operator
// when the report is printed press Alt+F4 to exit
Edit plus and return to SC graphic screen again
SHELL[CMD_LN=STRTMP("C:\SM11\SHARED\wedplus.exe
C:\SM11\MILL\JOSRPT\REPORT.TXT #FILE"), DP=0, WA=0]
� Hmmm…
It is the above SHELL command that is causing me the
grief.
Regards,
Michael Senack