Is there a way to merge two coded programs together and then open up Editplus
to that same directory . All automatically inside a macro?
 
Here is a macro that runs a tool list.tmp and a codes a file named TOOLLIST and also codes a file of a given name
and then opens up Editplus.
But it doesn't open it to the same directory the file was coded too.
It would be a real time saver if the two coded file could be merged together into a new
file and then open.
 
 
// Macro File
STRING:#FILEN
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\\TOOLLIST", MF="O:\\2000-jof\\Eng_SM11.Smf",
 TF="O:\\2000-jof\\TOOL_LIS.Tmp", SH=0, DC=1, RP=0, ST=0,
    DT=0, SP=9]
 

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

#FILEN=""
PAUSE[TX="END OF CODE MACRO.      
    NEW FILE IS IN DIRECTORY C: \SM11\MILL\MDATA\Coded_files\.",
    SR=3,SC=40,PT=3]
 
     STRING:#PATH
     STRING:#FILENAME
     #PATH=c:\sm11\shared\
     #FILENAME=wedplus.exe
     SHELL[CMD_LN=STRTMP("%PATH%FILENAME"), WA=1, DP=0]
Any help on this would be appreciated
 
Brock Shimon

Reply via email to