[Pythonmac-SIG] Applescript Confusion?
Jack Jansen
Jack.Jansen@oratrix.com
Tue, 5 Mar 2002 12:29:24 +0100
On Monday, March 4, 2002, at 08:46 , Bill Bedford wrote:
>
> import Freehand
> import StdSuites
> fh = Freehand.Freehand(start=1, timeout=10*60*60)
> std = StdSuites.StdSuites()
> fh.activate()
> fh.open(StdSuites.file(file +'.art'), Dialogs=0)
If all works as intended Freehand.Freehand should already use the
StdSuites as a base class, and start=1 implies activate(), so the
following should work:
import Freehand
fh = Freehand.Freehand(start=1, timeout=10*60*60)
fh.open(Freehand.file(file +'.art'), Dialogs=0)
--
- 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 -