From: Jack Jansen Date: Thu, 15 Oct 1998 14:02:54 +0000 (+0000) Subject: Set kAECanInteract and kAECanSwitchLayer flags for the finder interactions. X-Git-Tag: v1.5.2a2~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e0d3e7c2bcc8c987746827c88bcf26d99e93a80;p=python Set kAECanInteract and kAECanSwitchLayer flags for the finder interactions. --- diff --git a/Mac/Lib/findertools.py b/Mac/Lib/findertools.py index ffc75f51e2..4de4f0c1d7 100644 --- a/Mac/Lib/findertools.py +++ b/Mac/Lib/findertools.py @@ -1,6 +1,7 @@ """Utility routines depending on the finder.""" import Finder_7_0_Suite +import AppleEvents import aetools import MacOS import sys @@ -17,6 +18,8 @@ def _getfinder(): global _finder_talker if not _finder_talker: _finder_talker = Finder(SIGNATURE) + _finder_talker.send_flags = ( _finder_talker.send_flags | + AppleEvents.kAECanInteract | AppleEvents.kAECanSwitchLayer) return _finder_talker def launch(file):