• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A couple of problems...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A couple of problems...


  • Subject: Re: A couple of problems...
  • From: "Paul F. Henegan" <email@hidden>
  • Date: Thu, 23 Sep 2004 17:33:31 -0400

on 20.09.2004 09:11, Martin Orpen at email@hidden wrote:

> I'm working on a script that uses Image Events to read Photoshop files and
> then save them back to disk.
>
> Problem 1
> Image Events doesn't error when you feed in a file that it cannot read or
> write properly. So it will both open and save a layered .psd file without
> complaint - despite being able to do neither. Should this be considered as a
> bug or a feature?
>
> Problem 2
> Using "read file" my app will crash with:
>
> Exception: "EXC_BAD_ACCESS"
> Codes:  "KERN_INVALID_ADDRESS"
>
> When reading large files. Is there any documentation about data size
> limitations in AS? Or does anybody know the max number of bytes that can be
> read into an AppleScript app before it crashes and burns?
>

Martin,

The largest objects I've needed to work with in AS have been DVD image files
greater than 4 GB in size. I suspect that the crash log entry is a red
herring: that it is in fact Image Events that is causing the crash and
returning a misleading error to the AppleScript script that owns this
particular instance of the process. Problem 1 only reinforces my suspicion.

Regards,

paul
--
Paul F. Henegan
<email@hidden>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >A couple of problems... (From: Martin Orpen <email@hidden>)

  • Prev by Date: Re: UI Browser / AutoAPOD
  • Next by Date: GraphicConverter scripting help
  • Previous by thread: Re: A couple of problems...
  • Next by thread: How can I set the file property View option 'set text to icon's right' ?
  • Index(es):
    • Date
    • Thread