Changeset 212 for trunk/LocationDo/LocationDo.py
- Timestamp:
- 01/30/06 19:19:27 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocationDo/LocationDo.py
r205 r212 78 78 if '4111 SC' in location: 79 79 action.openInBackground('~/Documents/Research/Research progress.oo3') 80 # XXX wait for yt to be accessible 81 # XXX start NX 82 # XXX move windows 83 action.terminalDo('kswitch -p njriley@ACM.UIUC.EDU;(sleep 10;kswitch -p njriley@AD.UIUC.EDU)&! ;clear;ssh yt') 80 # XXX complain that NX has no creator nor bundle ID 81 action.openApplicationWithName('NX Client for OSX') 82 # XXX make these changes dependent on screen resolution 83 action.moveWindow('iTunes', 'iTunes', (2123, 1534), ifSizeMatches=(129, 65)) 84 action.moveWindow('Adium', 'Contacts', (1280, 1553)) 85 action.moveWindow('Adium', 'AOL System Msg', (1448, 1320)) 86 # XXX need better way to do this 87 action.moveWindow('OmniOutliner Pro', 'Research progress', (1634, 847)) 88 action.moveWindow('OmniOutliner Pro', '◇ Research progress', (1634, 847)) 89 # XXX wait for yt to be accessible and Kerberos, then open the terminal window 90 # action.terminalDo('kswitch -p njriley@ACM.UIUC.EDU;(sleep 10;kswitch -p njriley@AD.UIUC.EDU)&! ;clear;ssh yt') 84 91 action.setDisplayBrightnessPercent(0.9) 85 92 action.setAdiumStatus('Working in 4111 SC') … … 89 96 action.setAdiumStatus('At ACM') 90 97 if 'Champaign' in location: 98 action.ensureKerberosPrincipalsValid(['njriley@ACM.UIUC.EDU', 99 'njriley@AD.UIUC.EDU']) 91 100 action.openInBackground('~/Documents/To do.oo3') 92 101 action.setDisplayBrightnessPercent(0.2) … … 158 167 elif bssid == '00:13:c4:ce:66:a0': 159 168 location.add('13[12]0 DCL') 169 elif bssid in ['00:0e:83:05:78:02', '00:0e:83:05:77:42']: 170 location.add('1304 SC') 171 elif bssid == '00:0e:83:05:78:a2': 172 location.add('3124 SC') 173 elif bssid == '00:0e:83:05:76:b2': 174 location.add('Siebel 2nd floor atrium') 160 175 elif bssid in ['00:14:1c:ad:5c:80', '00:14:1c:ad:64:50']: 161 176 location.add('MEB') 162 177 elif bssid == '00:02:2d:2c:cb:34': 163 178 location.add('B02 CSL') 179 elif bssid == '00:11:5c:fe:31:00': 180 location.add('CAB') 164 181 elif bssid == '00:13:c4:78:e1:a0': 165 182 location.add('Engineering Hall') 183 elif bssid in ['00:0c:30:d4:b7:2d', '00:0c:30:d4:b6:70']: 184 location.add('Illini Union') 166 185 elif bssid == '00:0d:93:ed:e0:bc': 167 186 location.add('340 Marlborough St.') 168 187 elif bssid == '00:40:96:5a:5e:0f': 169 188 location.add('BMI baggage claim') 189 elif bssid == '00:12:0e:10:1f:83': 190 location.add('Waterville Valley') 170 191 elif bssid == '44:44:44:44:44:44': 171 192 location.add('No AirPort network') … … 192 213 elif ssid == 'Wackyland': 193 214 location.add('340 Marlborough St.') 215 elif ssid == '05B408706826': 216 location.add('Waterville Valley') 194 217 elif ssid == 'CIRA': 195 218 location.add('BMI')
Note:
See TracChangeset
for help on using the changeset viewer.