I have been working on this Macro and is there away to have the Edit-Plus
open up the file that I have named?
 
This Marco is used to run two *.tmp files and then open up Edit Plus.
I type in the Job number witch is the same as the File name that is saved in the
SmartCam mdate directory.
Type in a Program number for the coded file.
 
Is there away to have the Shell open the named file?
 
// Macro File
STRING:#FILEN
STRING:#JOB

PROMPT[TX="What is the name of the Job Files?",VN="JOB"]
 
PROMPT[TX="CODE FOR FANUC CONTROL.         
    WHAT IS THE NAME OF THE OUTPUT FILE FOR THE NC CODE?",VN="FILEN"]

CODE[FN="C:\\SM11\\MILL\\MDATA\\Coded_files\\ENGLISH-TOOLLIST", MF="O:\\2000-jof\\Eng_SM11.Smf",
 TF="O:\\2000-jof\\LIST_ENG.Tmp", SH=0, DC=1, RP=0, ST=0,
    DT=0, SP=9]

CODE[FN=STRTMP("C:\\SM11\\MILL\\MDATA\\%#JOB\\%#FILEN"),
   MF="O:\\2000-jof\\Eng_SM11.Smf",
  TF="O:\\2000-jof\\LsE_SM11.Tmp", SH=1, DC=1, RP=0, ST=0,
    DT=0, SP=9]

#FILEN=""
PAUSE[TX="The Coded File is in the Job Folder.
    EDIT PLUS WILL OPEN AUTOMATICLY. ",
SR=3,SC=30,PT=3]
 
     STRING:#PATH
     STRING:#FILENAME
     #PATH=c:\sm11\shared\
     #FILENAME=wedplus.exe
     SHELL[CMD_LN=STRTMP("%PATH%FILENAME"), WA=0, DP=0]
Thanks 
 
Brock

Reply via email to