[MacPerl] Problems using MacPerl::DoAppleScript

2003-01-15 Thread Martin Buchmann
Hi *, i have written some small MacPerl scripts which use the MacPerl::DoAppleScript command to launch other applications. mainly for processing of tex-Files, etc. I don't know nothing about AE-handling and so i don't care if it might be slower, etc. At home (G3 B&W 350, OS D-9.1, MacPerl 5.6.1r2)

Re: [MacPerl] Problems using MacPerl::DoAppleScript

2003-01-15 Thread Axel Rose
Just a general advice: Remove MacPerl Preferences, watch out for different MacPerl versions. Rebuild the desktop. Check AppleScript version. Axel

[MacPerl] out of memory

2003-01-15 Thread Louis Pouzin
Hi, Is there a way to handle the error condition "out of memory" ? This may occur when reading a whole file of unpredictable size. Recovering control could allow to switch to a different method. I've tried "warn", but it doesn't seem to work in this case. open IN, " or warn 'problem with IN'}; pr

[MacPerl] re: new to perl, even newer to macperl, need Find help

2003-01-15 Thread Louis Pouzin
On Tue, 24 Dec 2002 12:38:28 -0500, Nestor, John wrote: > I have this task in which I'm mixing/matching Applescript and MacPerl to > take advantage of each language's strength at the appropriate time. Hi John, Me too, a beginner. I've implemented some combo scripts using MacPerl and another scr

Re: [MacPerl] out of memory

2003-01-15 Thread Bart Lateur
On Wed, 15 Jan 2003 03:25:11 +0100 (MET), Louis Pouzin wrote: >Is there a way to handle the error condition "out of memory" ? >This may occur when reading a whole file of unpredictable size. >Recovering control could allow to switch to a different method. You might try to wrap it all in an eval {

RE: [MacPerl] re: new to perl, even newer to macperl, need Find h elp

2003-01-15 Thread Nestor, John
>Hi John, Hi >Me too, a beginner. I've implemented some combo scripts using MacPerl and another >scriptable tool, viz. AppleScript or NisusWriter. It's simplistic, but my ambition is limited. If you have something that works for you, why not incorporate it? Using Ap

[MacPerl] how to get image sizes of gif and jpeg files

2003-01-15 Thread Nobumi Iyanaga
Hello, I would like to know if there is any possible way, in MacPerl, to get the image sizes of gif and jpeg image files. Thank you very much in advance. Best regards, Nobumi Iyanaga Tokyo, Japan

Re: [MacPerl] how to get image sizes of gif and jpeg files

2003-01-15 Thread Chris Nandor
The Image::Size module on the CPAN should help you. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/

Re: [MacPerl] how to get image sizes of gif and jpeg files

2003-01-15 Thread Bill Becker
And for the hex hacker, there's always http://www.wotsit.org/ At 19:37 -0500 01/15/2003, Chris Nandor wrote: The Image::Size module on the CPAN should help you. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] ht