In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John Delacour) wrote:
> At 2:51 pm +1100 12/1/04, Rick Measham wrote: > > >So next I used CPAN module Mac::AppleScript and I don't get any reply at all: > > RunAppleScript(qq(choose file name with prompt "test1" > >default name "test2")); > > I think all you're missing is a tell target. This works here, though > painfully slowly as with all these Mac:: things The script I just posted took 3.263 seconds, including hitting "Cancel" to make the dialog box go away, on a PowerBook G4/867 running Panther. Total user/sys time was 1.39 seconds. Pain is highly dependent on your system specifics and pain threshhold. In my experience, Panther is quite a bit faster with Mac::Carbon startup than Jaguar was. I've got some benchmarks I keep meaning to clean up and post. The time spent in dyld has -- the biggest problem -- has been dramatically reduced. -- Chris Nandor [EMAIL PROTECTED] http://pudge.net/ Open Source Development Network [EMAIL PROTECTED] http://osdn.com/
