Visit batch python script 自动生成后处理图片


Visit 有些脚本需要自己编写,实际上就是加上简单的逻辑循环语句即可,比如说下面的代码,

可以自动生成要求的后处理图片到指定位置,图像的清晰程度可以设置

  1 #for fixed length and pure flow, updated at Feb.24,2019
  2 # Begin spontaneous state 
  3 
  4 NumberRunTimes=38          # <<==== how many output files
  5 
  6 
  7 ########################################## 
  8 ###       for U profile (also T)       ###
  9 
 10 ##########################################
 11 
 12 ## http://visitusers.org/index.php?title=Modifying_plot_legends
 13 
 14 #==============================================================
 15 #==============================================================
 16 ###-----------------------------------####
 17 ###    Begin the loop to output        ###
 18 ###-----------------------------------####
 19 
 20 SetTimeSliderState(0) 
 21 # flame tip will automatically adjust it's position
 22 for Number_i in range(0,NumberRunTimes):  
 23  
 24     SetTimeSliderState(Number_i)       #Set which result to show 
 25 
 26 ## to output to decimal numbers: e.g: Time:156.23
 27 
 28 #   Timetext.text = 'Time: '+str(new_Time[Number_i])    # <<==== Time Time!! 
 29 # End spontaneous state 
 30 # Save the picture: 
 31     SaveWindowAtts = SaveWindowAttributes() 
 32     SaveWindowAtts.outputToCurrentDirectory = 0 
 33     SaveWindowAtts.outputDirectory = "C:/Users/username/Desktop/50aa"  # Please repalce the path '\' with '/'
 34     SaveWindowAtts.fileName = "visit" 
 35     SaveWindowAtts.family = 1 
 36     SaveWindowAtts.format = SaveWindowAtts.PNG  # BMP, CURVE, JPEG, OBJ, PNG, POSTSCRIPT, POVRAY, PPM, RGB, STL, TIFF, ULTRA, VTK, PLY 
 37     SaveWindowAtts.width = 3000                 # for a higher difinition or high quality/output
 38     SaveWindowAtts.height = 1024 
 39     SaveWindowAtts.screenCapture = 0 
 40     SaveWindowAtts.saveTiled = 0 
 41     SaveWindowAtts.quality = 80 
 42     SaveWindowAtts.progressive = 0 
 43     SaveWindowAtts.binary = 0 
 44     SaveWindowAtts.stereo = 0 
 45     SaveWindowAtts.compression = SaveWindowAtts.None  # None, PackBits, Jpeg, Deflate 
 46     SaveWindowAtts.forceMerge = 0 
 47     SaveWindowAtts.resConstraint = SaveWindowAtts.ScreenProportions  # NoConstraint, EqualWidthHeight, ScreenProportions 
 48     SaveWindowAtts.advancedMultiWindowSave = 0 
 49     SaveWindowAtts.subWindowAtts.win1.position = (0, 0) 
 50     SaveWindowAtts.subWindowAtts.win1.size = (128, 128) 
 51     SaveWindowAtts.subWindowAtts.win1.layer = 0 
 52     SaveWindowAtts.subWindowAtts.win1.transparency = 0 
 53     SaveWindowAtts.subWindowAtts.win1.omitWindow = 0 
 54     SaveWindowAtts.subWindowAtts.win2.position = (0, 0) 
 55     SaveWindowAtts.subWindowAtts.win2.size = (128, 128) 
 56     SaveWindowAtts.subWindowAtts.win2.layer = 0 
 57     SaveWindowAtts.subWindowAtts.win2.transparency = 0 
 58     SaveWindowAtts.subWindowAtts.win2.omitWindow = 0 
 59     SaveWindowAtts.subWindowAtts.win3.position = (0, 0) 
 60     SaveWindowAtts.subWindowAtts.win3.size = (128, 128) 
 61     SaveWindowAtts.subWindowAtts.win3.layer = 0 
 62     SaveWindowAtts.subWindowAtts.win3.transparency = 0 
 63     SaveWindowAtts.subWindowAtts.win3.omitWindow = 0 
 64     SaveWindowAtts.subWindowAtts.win4.position = (0, 0) 
 65     SaveWindowAtts.subWindowAtts.win4.size = (128, 128) 
 66     SaveWindowAtts.subWindowAtts.win4.layer = 0 
 67     SaveWindowAtts.subWindowAtts.win4.transparency = 0 
 68     SaveWindowAtts.subWindowAtts.win4.omitWindow = 0 
 69     SaveWindowAtts.subWindowAtts.win5.position = (0, 0) 
 70     SaveWindowAtts.subWindowAtts.win5.size = (128, 128) 
 71     SaveWindowAtts.subWindowAtts.win5.layer = 0 
 72     SaveWindowAtts.subWindowAtts.win5.transparency = 0 
 73     SaveWindowAtts.subWindowAtts.win5.omitWindow = 0 
 74     SaveWindowAtts.subWindowAtts.win6.position = (0, 0) 
 75     SaveWindowAtts.subWindowAtts.win6.size = (128, 128) 
 76     SaveWindowAtts.subWindowAtts.win6.layer = 0 
 77     SaveWindowAtts.subWindowAtts.win6.transparency = 0 
 78     SaveWindowAtts.subWindowAtts.win6.omitWindow = 0 
 79     SaveWindowAtts.subWindowAtts.win7.position = (0, 0) 
 80     SaveWindowAtts.subWindowAtts.win7.size = (128, 128) 
 81     SaveWindowAtts.subWindowAtts.win7.layer = 0 
 82     SaveWindowAtts.subWindowAtts.win7.transparency = 0 
 83     SaveWindowAtts.subWindowAtts.win7.omitWindow = 0 
 84     SaveWindowAtts.subWindowAtts.win8.position = (0, 0) 
 85     SaveWindowAtts.subWindowAtts.win8.size = (128, 128) 
 86     SaveWindowAtts.subWindowAtts.win8.layer = 0 
 87     SaveWindowAtts.subWindowAtts.win8.transparency = 0 
 88     SaveWindowAtts.subWindowAtts.win8.omitWindow = 0 
 89     SaveWindowAtts.subWindowAtts.win9.position = (0, 0) 
 90     SaveWindowAtts.subWindowAtts.win9.size = (128, 128) 
 91     SaveWindowAtts.subWindowAtts.win9.layer = 0 
 92     SaveWindowAtts.subWindowAtts.win9.transparency = 0 
 93     SaveWindowAtts.subWindowAtts.win9.omitWindow = 0 
 94     SaveWindowAtts.subWindowAtts.win10.position = (0, 0) 
 95     SaveWindowAtts.subWindowAtts.win10.size = (128, 128) 
 96     SaveWindowAtts.subWindowAtts.win10.layer = 0 
 97     SaveWindowAtts.subWindowAtts.win10.transparency = 0 
 98     SaveWindowAtts.subWindowAtts.win10.omitWindow = 0 
 99     SaveWindowAtts.subWindowAtts.win11.position = (0, 0) 
100     SaveWindowAtts.subWindowAtts.win11.size = (128, 128) 
101     SaveWindowAtts.subWindowAtts.win11.layer = 0 
102     SaveWindowAtts.subWindowAtts.win11.transparency = 0 
103     SaveWindowAtts.subWindowAtts.win11.omitWindow = 0 
104     SaveWindowAtts.subWindowAtts.win12.position = (0, 0) 
105     SaveWindowAtts.subWindowAtts.win12.size = (128, 128) 
106     SaveWindowAtts.subWindowAtts.win12.layer = 0 
107     SaveWindowAtts.subWindowAtts.win12.transparency = 0 
108     SaveWindowAtts.subWindowAtts.win12.omitWindow = 0 
109     SaveWindowAtts.subWindowAtts.win13.position = (0, 0) 
110     SaveWindowAtts.subWindowAtts.win13.size = (128, 128) 
111     SaveWindowAtts.subWindowAtts.win13.layer = 0 
112     SaveWindowAtts.subWindowAtts.win13.transparency = 0 
113     SaveWindowAtts.subWindowAtts.win13.omitWindow = 0 
114     SaveWindowAtts.subWindowAtts.win14.position = (0, 0) 
115     SaveWindowAtts.subWindowAtts.win14.size = (128, 128) 
116     SaveWindowAtts.subWindowAtts.win14.layer = 0 
117     SaveWindowAtts.subWindowAtts.win14.transparency = 0 
118     SaveWindowAtts.subWindowAtts.win14.omitWindow = 0 
119     SaveWindowAtts.subWindowAtts.win15.position = (0, 0) 
120     SaveWindowAtts.subWindowAtts.win15.size = (128, 128) 
121     SaveWindowAtts.subWindowAtts.win15.layer = 0 
122     SaveWindowAtts.subWindowAtts.win15.transparency = 0 
123     SaveWindowAtts.subWindowAtts.win15.omitWindow = 0 
124     SaveWindowAtts.subWindowAtts.win16.position = (0, 0) 
125     SaveWindowAtts.subWindowAtts.win16.size = (128, 128) 
126     SaveWindowAtts.subWindowAtts.win16.layer = 0 
127     SaveWindowAtts.subWindowAtts.win16.transparency = 0 
128     SaveWindowAtts.subWindowAtts.win16.omitWindow = 0 
129     SetSaveWindowAttributes(SaveWindowAtts) 
130     SaveWindow() 

 这是一个脚本

下面的是更加智能一些,设置数组,进行调用:

可以设置显示内容,边界,大小等

  1 #for fixed length and pure flow, updated at Feb.24,2019
  2 # Begin spontaneous state 
  3 
  4 NumberRunTimes=151          # <<==== how many output files
  5 
  6 ########################################## 
  7 ###      Flame tip position            ###
  8 ###     £¨ run array_extract.m£?         ###
  9 ###
 10 
 11 #new_pos=[800.754739,800.754739,794.701261,776.143382,751.009016,755.713979,766.689128,773.593423,784.696880,796.565799,805.303244,814.655187,826.702893,835.064892,843.759362,852.613925,859.768992,867.264142,874.219366,880.708491,888.204400,894.707397,901.225154,907.988527,914.227518,920.163627,925.742464,931.190275,936.633790,941.743659,946.759657,951.354253,956.174814,960.851261,965.609087,969.749475,973.792478,977.763741,982.263453,987.653221,992.760828,997.722186,1003.160900,1008.842732,1015.182714,1021.668524,1028.287309,1035.114957,1041.564133,1048.057473,1055.022097,1062.077190,1069.206957,1076.239030,1083.391841,1090.693698,1098.200997,1105.994117,1113.894371,1122.161354,1130.518547,1138.796219,1147.281676,1155.714101,1164.182712,1172.721476,1181.212085,1189.883124,1198.542700,1207.226101,1216.149022,1224.826759,1233.714103,1242.323945,1251.128906,1259.688373,1268.242665,1276.821311,1285.348422,1294.139348,1302.572773,1310.668491,1318.694915,1326.741964,1334.719797,1342.419945,1350.183264,1357.213742,1363.301859,1369.546397,1375.420710,1380.725608,1385.566137,1389.826753,1393.698018,1397.150724,1400.938020,1405.552163,1410.184333,1416.318006,1423.390291,1430.881322,1438.266790,1445.277475,1452.203591,1459.128795,1466.232281,1473.652242,1481.185833,1488.861949,1496.613270,1504.152487,1511.687892,1519.233180,1526.910269,1534.694649,1541.703194,1546.597235,1554.618085,1562.747911,1571.191890,1579.598225,1587.933787,1596.397903,1604.659269,1612.351710,1620.203320,1628.195125,1636.258081,1644.736984,1653.806010,1663.782188,1674.637203,1685.686832,1697.046775,1708.814928,1721.212616,1733.783497,1746.888413,1760.152613,1772.226772,1783.565665,1794.365939,1804.682091,1813.722368,1821.932494,1830.135421,1838.799382,1848.247437,1858.230119,1868.271115,1878.447633,1887.673386,1896.161242,1904.702338,1913.647017,1922.285586,1931.225795,1940.861806,1950.743072,1960.721046,1970.768887,1981.242253,1991.733904,2001.844712,2012.199268,2022.725762,2033.708533,2044.703679,2055.821163,2067.453283,2079.140623,2090.689762,2102.460819,2114.641407,2126.690932,2138.602997,2150.627038,2162.765967,2175.120502,2187.329312,2199.840212,2212.639401,2225.238604,2237.912183,2250.749996,2263.758552,2277.077609,2290.269623,2303.709473,2317.209402,2330.742982,2344.322966,2358.122153,2371.764476,2385.703023,2399.717549,2413.950788,2428.315975,2442.765564,2457.245972]
 12 
 13 ########################################## 
 14 ###                Time                ###
 15 ###  
 16 if (vars().has_key('Timetext')==0):     # to see if text is already exist
 17     Timetext = CreateAnnotationObject("Text2D")
 18 Timetext.text = "Time: 0.00"
 19 new_Time=[0.000000,1.176199,2.485524,13.128007,26.270791,39.416398,52.564264,65.714070,78.865599,92.018704,105.173267,118.329188,131.486380,144.644729,157.804667,170.968105,184.135158,197.303157,210.471948,223.642181,236.813322,249.985436,263.158582,276.332619,289.507735,302.682141,315.852902,329.039521,342.283012,355.145410,366.903387,379.148196,391.600288,403.838615,416.303484,428.935726,441.526247,454.289554,467.056489,479.713061,492.326712,504.835938,517.239561,529.552174,541.747750,553.828402,565.803111,577.669822,589.432608,601.098067,612.671244,624.155983,635.544759,646.821020,658.017314,669.285304,680.801289,692.508192,704.371280,716.382111,728.543167,740.863839,753.353293,766.013718,778.836413,791.798844,804.867504,818.002769,831.174705,844.369599,857.581577,870.807159,884.044135,897.290976,910.546603,923.811268,937.087379,950.375727,963.675209,976.983285,990.293351,1003.603770,1016.914520,1030.225495,1043.536677,1056.848092,1070.159722,1083.471562,1096.783621,1110.095905,1123.408417,1136.721160,1150.034136,1163.347340,1176.660769,1189.974422,1203.288292,1216.602378,1229.916679,1243.231191,1256.545915,1269.860850,1283.175996,1296.491353,1309.806924,1323.122706,1336.438698,1349.754904,1363.071326,1376.387968,1389.704832,1403.021918,1416.339230,1429.656770,1442.974539,1456.292541,1469.610777,1482.929251,1496.247964,1509.566921,1522.886123,1536.205573,1549.525276,1562.845233,1576.165448,1589.485924,1602.806664,1616.127671,1629.448948,1642.770498,1656.092325,1669.414431,1682.736820,1696.059494,1709.382457,1722.705712,1736.029262,1749.353109,1762.677256,1776.001707,1789.326464,1802.651529,1815.976905,1829.302595,1842.628600,1855.954923,1869.281565,1882.608529,1895.935817,1909.263429,1922.591367,1935.919633,1949.248228]
 20 
 21 Timetext.height = 0.016
 22 Timetext.position = (0.05, 0.872)
 23 
 24 ########################################## 
 25 ###  Setting the size of frame         ###
 26 ###       for  your radius             ###
 27 Radius=200.0
 28 # Redundancy bbuffer for more beautiful
 29 margin_buffer=4.0
 30 # flame tip will be stay at this place(relatively position)
 31 flame_tip_position=800
 32 # width of the rectangle£¨length£?
 33 L_length=1000.0  
 34 
 35 ########################################## 
 36 ###       for U profile (also T)       ###
 37 PseudocolorAtts = PseudocolorAttributes()
 38 PseudocolorAtts.minFlag = 1
 39 PseudocolorAtts.min = -14.        # <<==== min U
 40 PseudocolorAtts.maxFlag = 1
 41 PseudocolorAtts.max = 2.         # <<==== max U
 42 SetPlotOptions(PseudocolorAtts)
 43 ##########################################
 44 
 45 
 46 
 47 ###-----------------------------------####
 48 ###         Seting the legend         ####
 49 ###-----------------------------------####
 50 
 51 plotName = GetPlotList().GetPlots(0).plotName 
 52 legend = GetAnnotationObject(plotName)
 53  
 54 # See if we can scale the legend.
 55 legend.xScale = .8         # <<==== scale
 56 legend.yScale = 0.70
 57 
 58 # the bounding box.
 59 legend.drawBoundingBox = 0
 60 legend.boundingBoxColor = (0,0,0,50)
 61  
 62 # Make it horizontal
 63 legend.orientation = legend.VerticalRight
 64  
 65 # moving the legend
 66 legend.managePosition = 0
 67 legend.position = (0.89,0.845)       # <<==== position
 68  
 69 # text color
 70 #InvertBackgroundColor()
 71 legend.useForegroundForTextColor = 1
 72 legend.textColor = (0, 0, 0, 255)
 73  
 74 # number format
 75 legend.numberFormat = "%# -9.3g"
 76  
 77 # the font.
 78 legend.fontFamily = legend.Arial
 79 legend.fontBold = 0
 80 legend.fontItalic = 0
 81 legend.fontHeight = 0.02 
 82  
 83 # turning off the labels.
 84 legend.fontItalic = 0
 85 legend.drawLabels = 1
 86 legend.drawMinMax = 0
 87  
 88 # turning off the title.
 89 legend.drawTitle = 1
 90 legend.controlTicks = 1 
 91 legend.numTicks = 5           # <<==== Ticks number
 92 legend.minMaxInclusive = 1 
 93 #legend.suppliedValues = (300, 500, 700, 900)  
 94 #legend.suppliedLabels = (, , , )  
 95 # Print the legend object so you can see the other properties
 96 # that you can set in order to modify the legend.
 97 print legend
 98 
 99 ## http://visitusers.org/index.php?title=Modifying_plot_legends
100 
101 #==============================================================
102 #==============================================================
103 ###-----------------------------------####
104 ###    Begin the loop to output        ###
105 ###-----------------------------------####
106 
107 SetTimeSliderState(0) 
108 # flame tip will automatically adjust it's position
109 for Number_i in range(0,NumberRunTimes):  
110 #    if new_pos[Number_i]
111     new_x_begin=0.0 
112     new_x_end=L_length 
113 #    if new_pos[Number_i]>=flame_tip_position: 
114 #       new_x_begin=new_pos[Number_i]-flame_tip_position 
115 #       new_x_end  =new_pos[Number_i]+(L_length-flame_tip_position) 
116     SetTimeSliderState(Number_i)       #Set which result to show 
117     View2DAtts = View2DAttributes() 
118     View2DAtts.windowCoords = (new_x_begin,new_x_end, -margin_buffer, Radius+margin_buffer) 
119     View2DAtts.viewportCoords = (0.1, 0.87, 0.670, 0.87) # see at manual
120     View2DAtts.fullFrameActivationMode = View2DAtts.Off  # On, Off, Auto 
121     View2DAtts.fullFrameAutoThreshold = 100 
122     View2DAtts.xScale = View2DAtts.LINEAR  # LINEAR, LOG 
123     View2DAtts.yScale = View2DAtts.LINEAR  # LINEAR, LOG 
124     View2DAtts.windowValid = 1 
125     SetView2D(View2DAtts)
126 ## to output to decimal numbers: e.g: Time:156.23
127     Timetext.text = 'Time: '+str(float('%.2f' % new_Time[Number_i]))    # <<==== Time Time!! 
128 #   Timetext.text = 'Time: '+str(new_Time[Number_i])    # <<==== Time Time!! 
129 # End spontaneous state 
130 # Save the picture: 
131     SaveWindowAtts = SaveWindowAttributes() 
132     SaveWindowAtts.outputToCurrentDirectory = 0 
133     SaveWindowAtts.outputDirectory = "C:/Users/username/Desktop/01_no_reaction/boy"  # Please repalce the path '\' with '/'
134     SaveWindowAtts.fileName = "visit" 
135     SaveWindowAtts.family = 1 
136     SaveWindowAtts.format = SaveWindowAtts.PNG  # BMP, CURVE, JPEG, OBJ, PNG, POSTSCRIPT, POVRAY, PPM, RGB, STL, TIFF, ULTRA, VTK, PLY 
137     SaveWindowAtts.width = 3000                 # for a higher difinition or high quality/output
138     SaveWindowAtts.height = 1024 
139     SaveWindowAtts.screenCapture = 0 
140     SaveWindowAtts.saveTiled = 0 
141     SaveWindowAtts.quality = 80 
142     SaveWindowAtts.progressive = 0 
143     SaveWindowAtts.binary = 0 
144     SaveWindowAtts.stereo = 0 
145     SaveWindowAtts.compression = SaveWindowAtts.None  # None, PackBits, Jpeg, Deflate 
146     SaveWindowAtts.forceMerge = 0 
147     SaveWindowAtts.resConstraint = SaveWindowAtts.ScreenProportions  # NoConstraint, EqualWidthHeight, ScreenProportions 
148     SaveWindowAtts.advancedMultiWindowSave = 0 
149     SaveWindowAtts.subWindowAtts.win1.position = (0, 0) 
150     SaveWindowAtts.subWindowAtts.win1.size = (128, 128) 
151     SaveWindowAtts.subWindowAtts.win1.layer = 0 
152     SaveWindowAtts.subWindowAtts.win1.transparency = 0 
153     SaveWindowAtts.subWindowAtts.win1.omitWindow = 0 
154     SaveWindowAtts.subWindowAtts.win2.position = (0, 0) 
155     SaveWindowAtts.subWindowAtts.win2.size = (128, 128) 
156     SaveWindowAtts.subWindowAtts.win2.layer = 0 
157     SaveWindowAtts.subWindowAtts.win2.transparency = 0 
158     SaveWindowAtts.subWindowAtts.win2.omitWindow = 0 
159     SaveWindowAtts.subWindowAtts.win3.position = (0, 0) 
160     SaveWindowAtts.subWindowAtts.win3.size = (128, 128) 
161     SaveWindowAtts.subWindowAtts.win3.layer = 0 
162     SaveWindowAtts.subWindowAtts.win3.transparency = 0 
163     SaveWindowAtts.subWindowAtts.win3.omitWindow = 0 
164     SaveWindowAtts.subWindowAtts.win4.position = (0, 0) 
165     SaveWindowAtts.subWindowAtts.win4.size = (128, 128) 
166     SaveWindowAtts.subWindowAtts.win4.layer = 0 
167     SaveWindowAtts.subWindowAtts.win4.transparency = 0 
168     SaveWindowAtts.subWindowAtts.win4.omitWindow = 0 
169     SaveWindowAtts.subWindowAtts.win5.position = (0, 0) 
170     SaveWindowAtts.subWindowAtts.win5.size = (128, 128) 
171     SaveWindowAtts.subWindowAtts.win5.layer = 0 
172     SaveWindowAtts.subWindowAtts.win5.transparency = 0 
173     SaveWindowAtts.subWindowAtts.win5.omitWindow = 0 
174     SaveWindowAtts.subWindowAtts.win6.position = (0, 0) 
175     SaveWindowAtts.subWindowAtts.win6.size = (128, 128) 
176     SaveWindowAtts.subWindowAtts.win6.layer = 0 
177     SaveWindowAtts.subWindowAtts.win6.transparency = 0 
178     SaveWindowAtts.subWindowAtts.win6.omitWindow = 0 
179     SaveWindowAtts.subWindowAtts.win7.position = (0, 0) 
180     SaveWindowAtts.subWindowAtts.win7.size = (128, 128) 
181     SaveWindowAtts.subWindowAtts.win7.layer = 0 
182     SaveWindowAtts.subWindowAtts.win7.transparency = 0 
183     SaveWindowAtts.subWindowAtts.win7.omitWindow = 0 
184     SaveWindowAtts.subWindowAtts.win8.position = (0, 0) 
185     SaveWindowAtts.subWindowAtts.win8.size = (128, 128) 
186     SaveWindowAtts.subWindowAtts.win8.layer = 0 
187     SaveWindowAtts.subWindowAtts.win8.transparency = 0 
188     SaveWindowAtts.subWindowAtts.win8.omitWindow = 0 
189     SaveWindowAtts.subWindowAtts.win9.position = (0, 0) 
190     SaveWindowAtts.subWindowAtts.win9.size = (128, 128) 
191     SaveWindowAtts.subWindowAtts.win9.layer = 0 
192     SaveWindowAtts.subWindowAtts.win9.transparency = 0 
193     SaveWindowAtts.subWindowAtts.win9.omitWindow = 0 
194     SaveWindowAtts.subWindowAtts.win10.position = (0, 0) 
195     SaveWindowAtts.subWindowAtts.win10.size = (128, 128) 
196     SaveWindowAtts.subWindowAtts.win10.layer = 0 
197     SaveWindowAtts.subWindowAtts.win10.transparency = 0 
198     SaveWindowAtts.subWindowAtts.win10.omitWindow = 0 
199     SaveWindowAtts.subWindowAtts.win11.position = (0, 0) 
200     SaveWindowAtts.subWindowAtts.win11.size = (128, 128) 
201     SaveWindowAtts.subWindowAtts.win11.layer = 0 
202     SaveWindowAtts.subWindowAtts.win11.transparency = 0 
203     SaveWindowAtts.subWindowAtts.win11.omitWindow = 0 
204     SaveWindowAtts.subWindowAtts.win12.position = (0, 0) 
205     SaveWindowAtts.subWindowAtts.win12.size = (128, 128) 
206     SaveWindowAtts.subWindowAtts.win12.layer = 0 
207     SaveWindowAtts.subWindowAtts.win12.transparency = 0 
208     SaveWindowAtts.subWindowAtts.win12.omitWindow = 0 
209     SaveWindowAtts.subWindowAtts.win13.position = (0, 0) 
210     SaveWindowAtts.subWindowAtts.win13.size = (128, 128) 
211     SaveWindowAtts.subWindowAtts.win13.layer = 0 
212     SaveWindowAtts.subWindowAtts.win13.transparency = 0 
213     SaveWindowAtts.subWindowAtts.win13.omitWindow = 0 
214     SaveWindowAtts.subWindowAtts.win14.position = (0, 0) 
215     SaveWindowAtts.subWindowAtts.win14.size = (128, 128) 
216     SaveWindowAtts.subWindowAtts.win14.layer = 0 
217     SaveWindowAtts.subWindowAtts.win14.transparency = 0 
218     SaveWindowAtts.subWindowAtts.win14.omitWindow = 0 
219     SaveWindowAtts.subWindowAtts.win15.position = (0, 0) 
220     SaveWindowAtts.subWindowAtts.win15.size = (128, 128) 
221     SaveWindowAtts.subWindowAtts.win15.layer = 0 
222     SaveWindowAtts.subWindowAtts.win15.transparency = 0 
223     SaveWindowAtts.subWindowAtts.win15.omitWindow = 0 
224     SaveWindowAtts.subWindowAtts.win16.position = (0, 0) 
225     SaveWindowAtts.subWindowAtts.win16.size = (128, 128) 
226     SaveWindowAtts.subWindowAtts.win16.layer = 0 
227     SaveWindowAtts.subWindowAtts.win16.transparency = 0 
228     SaveWindowAtts.subWindowAtts.win16.omitWindow = 0 
229     SetSaveWindowAttributes(SaveWindowAtts) 
230     SaveWindow() 

相关