Re: Error -1728
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.