diff options
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Lib/lib-toolbox/aetools.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Lib/lib-toolbox/aetools.py b/Mac/Lib/lib-toolbox/aetools.py index 42b6b76..1af761e 100644 --- a/Mac/Lib/lib-toolbox/aetools.py +++ b/Mac/Lib/lib-toolbox/aetools.py @@ -161,7 +161,10 @@ class TalkTo: def start(self): """Start the application, if it is not running yet""" - _launch(self.target_signature) + try: + self.send('ascr', 'noop') + except AE.Error: + _launch(self.target_signature) def newevent(self, code, subcode, parameters = {}, attributes = {}): """Create a complete structure for an apple event""" |