[Pythonmac-SIG] Applescript Confusion?
Jack Jansen
Jack.Jansen@oratrix.com
Tue, 5 Mar 2002 13:51:30 +0100
On Tuesday, March 5, 2002, at 01:10 , Bill Bedford wrote:
>>>> import Freehand
>>>> fh = Freehand.Freehand(start=1, timeout=10*60*60)
>>>> fh.open(Freehand.file('Holkham:Coaches:BRW:BWK8003 Conflat L'))
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'file'
>>>>
Mmm. And if you open the freehand dictionary in script editor, does
"file" show up? If it does show up then there's a bug in gensuitemodule.
If it doesn't show up then I misunderstand (again) how it should work
and you should indeed import StdSuites too.
--
- Jack Jansen <Jack.Jansen@oratrix.com>
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma
Goldman -