Re: Mail.app Attachments Filter
Re: Mail.app Attachments Filter
- Subject: Re: Mail.app Attachments Filter
- From: "Gary (Lists)" <email@hidden>
- Date: Thu, 24 Jan 2008 13:53:22 -0500
- Thread-topic: Mail.app Attachments Filter
"NBurman Design" wrote:
> short answer...cos I don't know Applescript that well! What's the syntax for
> 'forward'?
> I don't know which line generates the error. I've tried commenting out various
> lines, but nothing works.
Then where'd you get that script? ;)
If you are just running the script from Mail, without any means of testing,
then you can't answer Michelle's reasonable question.
To do that, run your script from your script editor (likely, Script Editor).
That is, open it up and run it with a selected Mail message (I'm just
guessing that a selected message would still work...I don't use Mail...the
point is, have a message selected and try to run your script in the editor.
You will be alerted to errors.
This is the typical way to 'debug' an AppleScript. If you just run a script
from a menu/rule/app/etc., and that script does not contain error-catching
code, then you may not ever know there was an error, or where.
As for the syntax for 'forward', look at Mail's AppleScript dictionary for
that verb.
Again, using Script Editor (or other), choose Open Dictionary and then open
Mail.app. Or, alternatively (and easier?), drag Mail.app onto the/your
script editor icon...the dictionary will be displayed.
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden