|
; r. L; Z% F/ r+ _0 Y
3 v [7 V' w @' _ IFTHEN/&ACTPRT == 1
s# B8 o+ X' M2 K; o MESSG/'This GRIP program requires an open work part!',$
3 H2 f& [2 L' ~# _ 'Please open or create a new part and try again.'- C6 z" r! c) G. x
JUMP/hal:; M! A: H I# f5 F+ {; m
ELSE/
V5 ?/ s& U; M, L4 f. Y MASK/ALL+ S( L; z% n6 ]* m' x# i
ENDIF
9 T9 P5 g/ u; ]4 i2 @- Z* b0 u( @
~2 f @6 ?; j6 f fdel/'e:\Calculator.bat',iferr,new:
6 C8 U7 `% S* O
5 Q& ^+ y7 U6 p0 d: w ?0 g) \7 s# V* }1 C( p
new:
( B! l$ M+ G! k8 M X: | create/txt,1,'e:\Calculator.bat'
* u" E- x: H% z1 J3 K' w7 [5 v6 K) u$ `: b/ y8 `% z" }! b6 W& `
write/1,'@echo off': M7 m/ _. _2 Y- `8 l/ u8 @
write/1,'start "title" D:\TMJ8\assist\Nc管理.EXE'
' q1 M; a% q2 s+ r write/1,'@echo off'( ?; n) i, h' H9 F# r
: ]3 ^& P" n% ?. [7 T9 J5 I
file/txt,1
! k' |+ |/ v4 V6 o! C% E# |
v: M/ r+ g& w& x X4 t fetch/txt,1,'e:\Calculator.bat',iferr,new:4 {4 j0 L) \% K7 g: H8 j- i
fterm/txt,1+ V ~! N$ y2 @* V& @
xspawn/'e:\Calculator.bat'7 e4 T2 s. h6 W
fdel/'e:\Calculator.bat'# k8 g+ a8 F) q% L. i& N) A+ H
* }* Q5 }) Z( P; ?& E- P% s
9 D* w1 G" y6 |+ ?
2 @+ |: \: ?5 |. q1 D0 c) f
hal:3 P/ t% `; ?' L* g; v! f* N, g
halt" i. {: o# C7 W
|
|