Changeset 637
- Timestamp:
- 02/02/11 21:23:03 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StreamVision/StreamVision.py
r636 r637 101 101 iTunesWindow = systemEvents.application_processes[u'iTunes'].windows[u'iTunes'] 102 102 try: 103 remote_speakers = iTunesWindow.buttons[its.attributes['AXDescription'].value.endswith(u' remote speakers')].title()103 remote_speakers = iTunesWindow.buttons[its.attributes['AXDescription'].value.endswith(u'AirPlay')].title() 104 104 except CommandError: 105 105 # with iTunes Store visible, the query fails with errAENoSuchObject
Note:
See TracChangeset
for help on using the changeset viewer.