diff options
Diffstat (limited to 'Mac/Lib/aetools.py')
-rw-r--r-- | Mac/Lib/aetools.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mac/Lib/aetools.py b/Mac/Lib/aetools.py index 00ec18a..ba42f03 100644 --- a/Mac/Lib/aetools.py +++ b/Mac/Lib/aetools.py @@ -157,15 +157,19 @@ class TalkTo: else: self.send_timeout = AppleEvents.kAEDefaultTimeout if start: - self.start() + self._start() - def start(self): + def _start(self): """Start the application, if it is not running yet""" try: self.send('ascr', 'noop') except AE.Error: _launch(self.target_signature) + def start(self): + """Deprecated, used _start()""" + self._start() + def newevent(self, code, subcode, parameters = {}, attributes = {}): """Create a complete structure for an apple event""" |