hexagon logo

help, auto save .prg after run, in a specific location variable.

I have been looking through all the past topics about this. but I am having trouble getting them working. I tried copy and pasting a few of them. and saving them as a .bas file and running the script. but i cant get one to work for me.


i currently already have a script that auto creates a folder from an operator input and saves the cmm report in that folder.

so ideally i want to follow that same train of thought and save a .prg & .cad in that same folder already created.


please advice.

Parents Reply
  • Yessir...

    JN         =COMMENT/INPUT,NO,FULL SCREEN=NO,
    
                ****** INPUT JOB NUMBER ******
    SN         =COMMENT/INPUT,NO,FULL SCREEN=NO,
    
                ****** INPUT SERIAL NUMBER ******
    CS1        =SCRIPT/FILENAME= Q:\QUALITY\IN PROCESS INSPECTION PLANS\1-SCRIPTS\LOGINID.BAS
                FUNCTION/Main,SHOW=YES,,
                STARTSCRIPT/
                ENDSCRIPT/
                ASSIGN/V1=JN.INPUT
                ASSIGN/V2=SN.INPUT
                ASSIGN/V3=0
                ASSIGN/V5="11127-MACHINE"
    
Children
No Data