diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-10-15 14:02:54 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-10-15 14:02:54 (GMT) |
commit | 0e0d3e7c2bcc8c987746827c88bcf26d99e93a80 (patch) | |
tree | 5680a620625d695bd3966cbce0b05a38b565b560 /Mac | |
parent | f35b884c918d5b754fa25f8cb47e67024cb29605 (diff) | |
download | cpython-0e0d3e7c2bcc8c987746827c88bcf26d99e93a80.zip cpython-0e0d3e7c2bcc8c987746827c88bcf26d99e93a80.tar.gz cpython-0e0d3e7c2bcc8c987746827c88bcf26d99e93a80.tar.bz2 |
Set kAECanInteract and kAECanSwitchLayer flags for the finder interactions.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Lib/findertools.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Lib/findertools.py b/Mac/Lib/findertools.py index ffc75f5..4de4f0c 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): |