Your Products have been synced, click here to refresh
$$ NO, ===== ===== ASSIGN/DATE=SYSTEMDATE("ddMMMyyyy") ASSIGN/TIME=SYSTEMTIME("HH:mm") ASSIGN/[B][I][COLOR="#FF0000"]PDFNAME[/COLOR][/I][/B]="K:\Folder1\Folder2\Folder3\\"+"PartName_"+JOB+"_"+SERNO+"_CNC_"+CNC+"_Plt_"+PALLET+"_"+DATE+".PDF" $$ NO, ===== PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,OVERWRITE=PDFNAME,$ TO_PRINTER=OFF,$ TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=KEEP_INSTANCES
$$ NO,==================================================== ,End of Program, Save and Report Functions ,==================================================== $$ NO,==================================================== ,Change nam to "Customer\\Part Reference #\\" ,==================================================== ASSIGN/RTIME=SYSTEMTIME("HHmm") ASSIGN/DATE=SYSTEMDATE("MMddyyyy") ASSIGN/INFO="_"+DATE+"_"+RTIME+"_"+OPERATOR+"-"+SHIFT+"_"+JOB+"_"+SAMP+"_" ASSIGN/NAM="Default\\" [COLOR=#ff0000][B]ASSIGN/NAME=CMMPROGRAM+INFO+".PDF" [/B][/COLOR]$$ NO,==================================================== ,Verify RPTPath is to the appropiate location ,==================================================== ASSIGN/DEFAULTPATH="W:\\Quality\\CMM Reports\\" [B][COLOR=#ff0000]ASSIGN/RPTPATH=DEFAULTPATH + NAM [/COLOR][/B]$$ NO,==================================================== ,Refresh Report screen after Execution Finished ,==================================================== Refresh_Report2=SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\REPORT REFRESH.BAS FUNCTION/Main,SHOW=NO,, STARTSCRIPT/ $$ NO,==================================================== ,Print confirmation, YES/NO ,==================================================== PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,APPEND=[B][COLOR=#ff0000]RPTPATH+NAME[/COLOR][/B],$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=APPEND,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=KEEP_INSTANCES PDF_VIEW =SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\PDF VIEW AFTER EXECUTE.BAS FUNCTION/Main,SHOW=NO,[B][COLOR=#ff0000]ARG1=STR(RPTPATH+NAME[/COLOR][COLOR=#ff0000]),, [/COLOR][/B] Sub[SIZE=2][COLOR=#000000] Main(strFileName [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]String[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#000000])[/COLOR] [/SIZE][SIZE=2][COLOR=#007f00][SIZE=2][COLOR=#007f00]'assign ARG1=STR(RPTPATH+Name) In script Line after SHOW=YES [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Shell "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe " & strFileName [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]End[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]Sub [/COLOR][/SIZE][/COLOR][/SIZE]
PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,APPEND=[B]PDFNAME[/B],$ TO_PRINTER=ON,$ TO_DMIS_REPORT=OFF,FILE_OPTION=APPEND,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=KEEP_INSTANCES PDF_VIEW =SCRIPT/FILENAME= C:\PC-DMIS\4_3\BASIC SCRIPTS\PDF VIEW AFTER EXECUTE.BAS FUNCTION/Main,SHOW=NO,
[COLOR=#000000][SIZE=2][B]ARG1=STR([/B]
Sub Main(strFileName As String) Shell "C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe " & strFileName End Sub
CS2 =SCRIPT/FILENAME= S:\PC-DMIS PROGRAMS\PC-DMIS BASIC SCRIPTS\SAVEAS.BAS FUNCTION/Main,SHOW=YES,, STARTSCRIPT/ COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO, Press Cancel to Review Report before Printing Press OK to Print
$$ NO, ===== ===== ASSIGN/DATE=SYSTEMDATE("ddMMMyyyy") ASSIGN/TIME=SYSTEMTIME("HH:mm") ASSIGN/PDFNAME="K:\TMTCMM\C27_VBlock_CMM_Reports\\PDF_Test_"+TIME+"_"+DATE+".PDF" $$ NO, ===== PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,OVERWRITE=PDFNAME,$ TO_PRINTER=OFF,$ TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ PREVIOUS_RUNS=KEEP_INSTANCES
Sub Main(strFileName As String) Shell "C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe " & strFileName End Sub
CS1 =SCRIPT/FILENAME= C:\USERS\KUGLEJD\DESKTOP\PDF_VIEW.BAS FUNCTION/Main,SHOW=NO,[COLOR="#FF0000"]ARG1=STR(PDFNAME),[/COLOR], STARTSCRIPT/
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |