Combining event handlers
Combining event handlers
- Subject: Combining event handlers
- From: Lee Noble <email@hidden>
- Date: Wed, 2 Nov 2005 09:24:47 +0000
I may be wrong but I'm sure I'd seen in the dim and distant past back in OS8 that it was possible to combine handlers so you only need one block of code instead of two or more.
Basically I want the same part of the script to activate on run and on receiving files. The logical syntax in my head would look something like this:
on run; on
adding folder items to actionFolder after receiving actionFile
or this
on {run, adding folder items to actionFolder after receiving actionFile}
or this
on run, adding folder items to actionFolder after receiving actionFile
I know none of these are correct but I hope they communicate what I want to do.
I can't find any reference to it in the help and numerous internet searches have turned up nothing but that may be because I'm calling it the wrong thing.
It may of course not be possible at all. If it is possible though I also need to know how you would end the code block.
Thanks
Lee
_______________________________________________
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