(ele)
| 123 | return text_list |
| 124 | |
| 125 | def GetAllControl(ele): |
| 126 | def findall(ele, n=0, controls=[]): |
| 127 | # if ele.Name: |
| 128 | controls.append(ele) |
| 129 | eles = ele.GetChildren() |
| 130 | for ele1 in eles: |
| 131 | controls = findall(ele1, n+1, controls) |
| 132 | return controls |
| 133 | text_list = findall(ele)[1:] |
| 134 | return text_list |
| 135 | |
| 136 | def SetClipboardFiles(paths): |
| 137 | for file in paths: |