Re: Please help..
Re: Please help..
- Subject: Re: Please help..
- From: "Bob.Kalbaugh" <email@hidden>
- Date: Tue, 02 Oct 2001 11:46:41 -0500
on 10/2/01 8:20 AM, email@hidden at email@hidden wrote:
>
Hi All,
>
>
I left this little section of script for assistance a couple of days ago, and
>
have not yet received any help yet. Could someone please tell me why the
>
lines of code marked below give me errors, and what I can do to make those
>
lines of code run properly?
>
>
I have commented my questions below inside my attempted code. I am extremely
>
new to AS, and most of the time, I am not sure what the errors I am getting
>
really are, never mind that I can't correct them. Can someone explain to me
>
the reason this code doesn't work where marked? this script actually was
>
longer and had other sections, but I have removed everything I could to get
>
down to just the problem area.
>
>
Thank you in advance for all of your help.
>
>
Sincerely,
>
Kevin Shapiro
Hi Kevin,
I must admit that all of the commenting is just a little distracting,
however, it appears that your script is a droplet. It handles a file when
dropped or presents a choose file when double clicked. Obviously it would
work when either of those two events take place.(A user can't choose a
missing file, can they? or drop one for that matter.) So when does it
produce an error? Does it run unattended at some interval without user
interaction? I just don't know. Or has the user chosen from a pre-defined
list? (probably the case)
I know you don't want to post the entire code. Maybe if you describe the
script's process it might help.
Here's my thought on the error trap.
Don't try to set the picture to the current picture (It's already set. yes?)
Just give the user the option to pick a new one or bail out.
At any rate if you would like to send me the script directly, I'd be willing
to take a look at it (I'd have some time through-out the day and tomorrow
morning), and offer any help that I can.
Sincerely,
_bob.kalbaugh (residing in Pittsburgh, PA)