• 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
A couple of problems...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A couple of problems...


  • Subject: A couple of problems...
  • From: Martin Orpen <email@hidden>
  • Date: Mon, 20 Sep 2004 14:11:09 +0100

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?

Regards

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com


 _______________________________________________
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

  • Follow-Ups:
    • Re: A couple of problems...
      • From: "Paul F. Henegan" <email@hidden>
    • Re: A couple of problems...
      • From: Emmanuel <email@hidden>
  • Prev by Date: Can't launch Script Debugger after system crash...
  • Next by Date: Re: Can't launch Script Debugger after system crash...
  • Previous by thread: Re: Can't launch Script Debugger after system crash...
  • Next by thread: Re: A couple of problems...
  • Index(es):
    • Date
    • Thread