• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mail.app Attachments Filter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail.app Attachments Filter


  • Subject: Re: Mail.app Attachments Filter
  • From: NBurman Design <email@hidden>
  • Date: Thu, 24 Jan 2008 12:14:28 -0700


On 24Jan08, at 11:53 AM, Gary (Lists) wrote:

"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


_______________________________________________

I appreciate that Michelle's question was reasonable, I just don't have an answer.
The script was a collaborative effort, but my collaborator is stuck also!


I tried debugging as you outlined, but I get no response. No error messages, no alerts, no mail.app action.

Does this mean there are no obvious errors with the script? Obviously, it compiles ok.

~Nicholas
_______________________________________________
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
References: 
 >Re: Mail.app Attachments Filter (From: "Gary (Lists)" <email@hidden>)

  • Prev by Date: Re: How to parse CSV
  • Next by Date: Re: "a reference to"
  • Previous by thread: Re: Mail.app Attachments Filter
  • Next by thread: GUIscritpting, Pages and PDF
  • Index(es):
    • Date
    • Thread