ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/learning/autoIt.py
Revision: 8
Committed: Sat May 5 04:21:19 2012 UTC (13 years, 10 months ago) by ninoborges
Content type: text/x-python
File size: 334 byte(s)
Log Message:
Initial Import

File Contents

# Content
1 ## Testing the "AutoIt caabilities" of Python
2
3
4 import win32gui
5
6 global BigList
7
8 def MyCallBack(window, extra):
9 """Gives a list of all windows currently running"""
10 title = win32gui.GetWindowText(window)
11 if title:
12 BigList.append(title)
13 BigList = []
14 win32gui.EnumWindows(MyCallBack, None)
15 print BigList