Kaydet (Commit) 0e0d3e7c authored tarafından Jack Jansen's avatar Jack Jansen

Set kAECanInteract and kAECanSwitchLayer flags for the finder interactions.

üst f35b884c
"""Utility routines depending on the finder.""" """Utility routines depending on the finder."""
import Finder_7_0_Suite import Finder_7_0_Suite
import AppleEvents
import aetools import aetools
import MacOS import MacOS
import sys import sys
...@@ -17,6 +18,8 @@ def _getfinder(): ...@@ -17,6 +18,8 @@ def _getfinder():
global _finder_talker global _finder_talker
if not _finder_talker: if not _finder_talker:
_finder_talker = Finder(SIGNATURE) _finder_talker = Finder(SIGNATURE)
_finder_talker.send_flags = ( _finder_talker.send_flags |
AppleEvents.kAECanInteract | AppleEvents.kAECanSwitchLayer)
return _finder_talker return _finder_talker
def launch(file): def launch(file):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment