• 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: Error -1728
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error -1728


  • Subject: Re: Error -1728
  • From: Sander Tekelenburg <email@hidden>
  • Date: Fri, 9 Feb 2001 07:05:04 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 22:57 -0600 UTC, on 08/02/2001, Steve Yuroff wrote:

> Where should I look for the secret decoder ring of AS error messages?

I'd like to know too :)

> I've written this:

[...]

> It gets an error -1728 every time I drop a picture on the folder the script
> is attached to.

I believe -1728 means the Finder cannot find the file you're referring to.

You should probably do some more elaborate error trapping to find exactly
where in your code this error is generated. Putting every block that might be
the cause in a try block like below can make it easier to track problems
down:

try
--do stuff
on error m number n
display dialog "Custom Error #1: " & n & return & return & m
end try

(Using custom error messages is especially usefull for large scripts. Your
custom error number points you directly to the point in the script that
fails.)


Hope that gets you on track.


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOoOIXesywKfXgqKdEQJ5NgCfd90RkDaeD9jPWzLSJH+6SL+WviMAn3mb
gU8NUqU6clJW0RKwCjJKs/Zc
=hycq
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <mailto:email@hidden>
Web site at <http://www.euronet.nl/~tekelenb/>

Do not seek to follow in the footsteps of the wise. Seek what they sought.


  • Prev by Date: Re: Program Linking via IP (Was: Why doesn't this work?)
  • Next by Date: Switch Remote Access Config &Connect
  • Previous by thread: Re: Is there a scriptable application for getting server and software versions?
  • Next by thread: Switch Remote Access Config &Connect
  • Index(es):
    • Date
    • Thread