Import the MacOS toolbox modules from the Carbon package.

This commit is contained in:
Jack Jansen 2001-08-25 12:15:04 +00:00
parent 6dba6bc0a2
commit 5a6fdcd371
100 changed files with 336 additions and 331 deletions

View file

@ -10,7 +10,7 @@ import sys
import getaete
import baetools
import baetypes
import AE
from Carbon import AE
import AppleEvents
import macfs
from types import *

View file

@ -17,8 +17,8 @@ import string
import types
from string import strip
from types import *
import AE
from AppleEvents import *
from Carbon import AE
from Carbon.AppleEvents import *
import MacOS
import macfs
import StringIO
@ -195,7 +195,7 @@ def unpack(desc):
v = 0x100000000L + v
return v
if t == typeObjectSpecifier:
import Res
from Carbon import Res
# print desc, type(desc)
# print desc.__members__
# print desc.data, desc.type

View file

@ -21,8 +21,8 @@ files: the pack stuff from aepack, the objects from aetypes.
"""
from types import *
import AE
import AppleEvents
from Carbon import AE
from Carbon import AppleEvents
import MacOS
import sys

View file

@ -1,6 +1,6 @@
"""aetypes - Python objects representing various AE types."""
from AppleEvents import *
from Carbon.AppleEvents import *
import struct
from types import *
import string

View file

@ -18,7 +18,7 @@ import types
from MACFS import *
import macfs
import string
from Res import *
from Carbon.Res import *
import struct
# for testing only

View file

@ -14,7 +14,7 @@ import types
import macfs
import string
import macpath
from Res import *
from Carbon.Res import *
# for testing only
app = 'MACS'#CSOm'#'nwSP'#'ezVu'#