ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/learning/autoIt.py
Revision: 591
Committed: Tue Nov 3 22:45:12 2015 UTC (10 years, 4 months ago) by nino.borges
Content type: text/x-python
File size: 334 byte(s)
Log Message:
Moved dir out of main dir.

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