MACSCRPT Archives

January 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Philip Aker <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Sat, 6 Jan 2007 09:21:00 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
On 2007-01-06, at 09:07:17, kee nethery wrote:

> On Jan 6, 2007, at 8:50 AM, Emmanuel wrote:

>> Did you try to provide an argument such as:

>> attachments {file "Macintosh HD:Users:kee:Desktop:somefile.zip",  
>> file "Macintosh HD:Users:kee:Desktop:someotherfile.zip"}

> yes, just now (that was not a form that I had tried previously)
>
> send mail to "[log in to unmask]" from "[log in to unmask]" subject "test  
> 12" body "test 12" SMTP server "smtpoutgoing.kagi.com" port 25  
> attachment {file "Users:keenethery:Desktop:besler cameras"}

> the result is "compiler error"

> The script I am using within runtime revolution is:

>     do theAScript as AppleScript
>     -- the result either is the email message or some error
>     put the result into field "sentMessage"

> where "theAScript" is the "send mail to ..." line shown above.

What happens if you use Script Editor or osascript?

Philip Aker
philip_aker%40mac.com

ATOM RSS1 RSS2