Changeset 643 for trunk/StreamVision
- Timestamp:
- 05/14/12 17:44:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StreamVision/StreamVision.py
r638 r643 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'AirPlay')].title()103 remote_speakers = iTunesWindow.buttons[its.attributes['AXDescription'].value.beginswith(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.