Re: On Run handlers
Re: On Run handlers
- Subject: Re: On Run handlers
- From: Walter Ian Kaye <email@hidden>
- Date: Wed, 11 Feb 2004 18:05:56 -0800
At 06:27p -0500 02/11/2004, Dan Doughtie didst inscribe upon an
electronic papyrus:
So. I tried running a small applet that triggers the script to run every
minute to clean out the mailbox.
I can't get the on run handler to work correctly because when it runs it
can't seem to pass the variables to the subroutines. If I frame the entire
script sub routines and all it won't run.
If I frame all of the basic script and put the END RUN in front of
subroutines the subs fail.
I also ran into this with folder actions. How do you properly frame a script
so that the subroutines continue to run.
If these are global variables, then you have to declare them in the
on run handler in addition to declaring them in your other
subroutines.
-boo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.