文档A.txt
%!PS-Adobe-2.0
%%Creator: Adobe Photoshop(TM) Pen Path Export 7.0
%%Title: (2.ai)
%%DocumentNeededResources: procset Adobe_packedarray 2.0 0
%%+ procset Adobe_IllustratorA_AI3 1.0 1
%%ColorUsage: Black&White
%%BoundingBox: 0 0 453 340
%%HiResBoundingBox: 0 0 453.6 340.08
%AI3_Cropmarks: 0 0 453.6 340.08
%%DocumentPreview: None
%%EndComments
%%BeginProlog
%%IncludeResource: procset Adobe_packedarray 2.0 0
Adobe_packedarray /initialize get exec
%%IncludeResource: procset Adobe_IllustratorA_AI3 1.0 1
%%EndProlog
%%BeginSetup
Adobe_IllustratorA_AI3 /initialize get exec
n
%%EndSetup
0.0 0.0 0.0 1.0 k
0 i 0 J 0 j 1 w 4 M []0 d
%%Note:
%Adobe_Photoshop_Path_Begin:<< /defaultFill false >>
*u
%AI3_Note:<< /operation /union >>
1 XR
198.8400 274.0800 m
243.0449 274.0800 278.8800 238.2449 278.8800 194.0400 c
278.8800 149.8351 243.0449 114.0000 198.8400 114.0000 c
154.6351 114.0000 118.8000 149.8351 118.8000 194.0400 c
118.8000 238.2449 154.6351 274.0800 198.8400 274.0800 c
n
*U
%Adobe_Photoshop_Path_End
%%Trailer
%%EOF
批处理搜索上面文档A.txt中的
198.8400 274.0800 m
243.0449 274.0800 278.8800 238.2449 278.8800 194.0400 c
278.8800 149.8351 243.0449 114.0000 198.8400 114.0000 c
154.6351 114.0000 118.8000 149.8351 118.8000 194.0400 c
118.8000 238.2449 154.6351 274.0800 198.8400 274.0800 c
部分内容 也就是xr到n之间的内容 然后把这些内容输出到新建的B文档.txt中
并按以下格式输出
%!PS-Adobe-3.0
%%BoundingBox:0.000000 0.000000 1200.000000 2400.000000
%%EndComments
%%BeginSetup
%%EndSetup
0.000 0.000 0.000 1.000 K
0.215 w
s
u
198.8400 274.0800 m
243.0449 274.0800 278.8800 238.2449 278.8800 194.0400 c
278.8800 149.8351 243.0449 114.0000 198.8400 114.0000 c
154.6351 114.0000 118.8000 149.8351 118.8000 194.0400 c
118.8000 238.2449 154.6351 274.0800 198.8400 274.0800 c
s
s
%%PageTrailer
%%Trailer
%%EOF
求大神帮忙指点指点 应该不是太难 很久不接触代码了 忘了咋弄了
%!PS-Adobe-2.0
%%Creator: Adobe Photoshop(TM) Pen Path Export 7.0
%%Title: (2.ai)
%%DocumentNeededResources: procset Adobe_packedarray 2.0 0
%%+ procset Adobe_IllustratorA_AI3 1.0 1
%%ColorUsage: Black&White
%%BoundingBox: 0 0 453 340
%%HiResBoundingBox: 0 0 453.6 340.08
%AI3_Cropmarks: 0 0 453.6 340.08
%%DocumentPreview: None
%%EndComments
%%BeginProlog
%%IncludeResource: procset Adobe_packedarray 2.0 0
Adobe_packedarray /initialize get exec
%%IncludeResource: procset Adobe_IllustratorA_AI3 1.0 1
%%EndProlog
%%BeginSetup
Adobe_IllustratorA_AI3 /initialize get exec
n
%%EndSetup
0.0 0.0 0.0 1.0 k
0 i 0 J 0 j 1 w 4 M []0 d
%%Note:
%Adobe_Photoshop_Path_Begin:<< /defaultFill false >>
*u
%AI3_Note:<< /operation /union >>
1 XR
198.8400 274.0800 m
243.0449 274.0800 278.8800 238.2449 278.8800 194.0400 c
278.8800 149.8351 243.0449 114.0000 198.8400 114.0000 c
154.6351 114.0000 118.8000 149.8351 118.8000 194.0400 c
118.8000 238.2449 154.6351 274.0800 198.8400 274.0800 c
n
*U
%Adobe_Photoshop_Path_End
%%Trailer
%%EOF
批处理搜索上面文档A.txt中的
198.8400 274.0800 m
243.0449 274.0800 278.8800 238.2449 278.8800 194.0400 c
278.8800 149.8351 243.0449 114.0000 198.8400 114.0000 c
154.6351 114.0000 118.8000 149.8351 118.8000 194.0400 c
118.8000 238.2449 154.6351 274.0800 198.8400 274.0800 c
部分内容 也就是xr到n之间的内容 然后把这些内容输出到新建的B文档.txt中
并按以下格式输出
%!PS-Adobe-3.0
%%BoundingBox:0.000000 0.000000 1200.000000 2400.000000
%%EndComments
%%BeginSetup
%%EndSetup
0.000 0.000 0.000 1.000 K
0.215 w
s
u
198.8400 274.0800 m
243.0449 274.0800 278.8800 238.2449 278.8800 194.0400 c
278.8800 149.8351 243.0449 114.0000 198.8400 114.0000 c
154.6351 114.0000 118.8000 149.8351 118.8000 194.0400 c
118.8000 238.2449 154.6351 274.0800 198.8400 274.0800 c
s
s
%%PageTrailer
%%Trailer
%%EOF
求大神帮忙指点指点 应该不是太难 很久不接触代码了 忘了咋弄了