Changeset 344 for trunk/RetroStatus/RetroStatus.py
- Timestamp:
- 10/28/07 23:18:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/RetroStatus/RetroStatus.py
r343 r344 135 135 ### Retrospect event handlers 136 136 137 def retrospectstart(autolaunchboolean): pass 137 def retrospectstart(autolaunchboolean): 138 try: 139 app(id='com.apple.Backup').quit(timeout=5) 140 except CommandError: 141 addEvent('Apple Backup failed to quit', 'Please check on it.') 142 138 143 def scriptstart(scriptname, startdate): pass 139 144 # yes, this really should be "remotetname" … … 181 186 182 187 def retrospectquit(): 188 # can use launch() in newer appscript versions without CommandError 189 app(id='com.apple.Backup').activate() 183 190 stopeventloop() 184 191
Note:
See TracChangeset
for help on using the changeset viewer.