One last question, is there a way to do this without activating or
switching to Mailplane? A way to do this as a background process?

I tried:
tell application "System Events"
  tell process "Mailplane"
     set m to make new outgoing message with properties
{directlySend:true}
     <<snip>>
  end tell
end tell

I get an error on the word "message"



My full script that currently works (but switches to mailplane) is as
follows.
My current quicksilver syntax is "recipient, subject: content":

using terms from application "Quicksilver"
        on process text im_text
                repeat with delimiter_position1 from 1 to (length of im_text)
                        if character delimiter_position1 of im_text = "," then 
exit repeat
                end repeat
                repeat with delimiter_position2 from delimiter_position1 to 
(length
of im_text)
                        if character delimiter_position2 of im_text = ":" then 
exit repeat
                end repeat
                set contact to characters 1 thru (delimiter_position1 - 1) of
im_text as string
                set sub to characters (delimiter_position1 + 2) thru
(delimiter_position2 - 1) of im_text as string
                set msg to characters (delimiter_position2 + 2) thru (length of
im_text) of im_text as string

                tell application "Mailplane"
                        set m to make new outgoing message with properties
{directlySend:true}
                        tell m
                                set subject to sub
                                set content to msg
                                set r to make new to recipient at end
                                tell r
                                        set address to contact
                                end tell
                        end tell
                        compose m
                end tell


        end process text
end using terms from

On Mar 17, 10:16 am, Ruben Bakker <[email protected]> wrote:
> This property is available in Mailplane 
> 2.1-beta:http://mailplaneapp.com/download/betaEarlierversions do not support 
> it.
>
> Hope this helps.
>
>
>
>
>
> On Tue, Mar 17, 2009 at 3:12 PM, Chelming <[email protected]> wrote:
>
> > Ruben,
>
> > The "make new outgoing message with properties {directlySend:true}"
> > line isn't working for me.
>
> > I get the error "Mailplane got an error: Can’t make
> > {directlySend:true} into type properties."
>
> > Any idea?
>
> > On Mar 10, 3:08 am, Ruben Bakker <[email protected]> wrote:
> > > Hi Robin,
>
> > > On Mon, Mar 9, 2009 at 2:53 PM, Robin Stark <[email protected]>
> > wrote:
> > > > I'm demoing Mailplane right now and have some questions/issues:
> > > > 1) I have a bunch of Automator applications set up to send emails using
> > > > Mail. I tried to figure out how I could do the same thing using
> > Mailplane,
> > > > but I haven't been able to do it. Is it possible?
>
> > > Mailplane's AppleScript dictionary let's you:
>
> > >    - Compose email with attachments. (2.1-beta let's you also directly
> > send
> > >    the message and set cc, bcc recipients.)
> > >    - Get the current title and current mailplane URL
>
> > > Here's an example script (2.1-beta compatible):
>
> > > *tell* application "Mailplane"
>
> > > *set* m *to* make new outgoing message with properties
> > {directlySend:false}
>
> > > t*ell* m
>
> > > *set* sender *to* "[email protected]"
>
> > > *set* r *to* make new to recipient at *end*
>
> > > *tell* r
>
> > > *set* address *to* "[email protected]"
>
> > > *set* name *to* "Ruben"
>
> > > *end* *tell*
>
> > >  *set* r *to* make new cc recipient at *end*
>
> > > *tell* r
>
> > > *set* address *to* "[email protected]"
>
> > > *set* name *to* "Monique"
>
> > > *end* *tell*
>
> > >  *set* r *to* make new bcc recipient at *end*
>
> > > *tell* r
>
> > > *set* address *to* "[email protected]"
>
> > > *set* name *to* "Monique"
>
> > > *end* *tell*
>
> > >  *set* subject *to* "test subject"
>
> > > make new mail attachment with properties {path:"Macintosh
> > > HD:Users:ruben:Desktop:china.png"}
>
> > > *end* *tell*
>
> > > compose m
>
> > > *end* *tell*
>
> > > > 2) Revealing a download doesn't work if Hazel is tidying up for me.
> > > > Everything goes to my downloads folder, but Hazel moves it into it's
> > > > appointed folder, e.g., Disk Images, Documents, Music, so when I click
> > on
> > > > the reveal button, it doesn't find it. There is probably nothing I can
> > do
> > > > about that except to tell Hazel not to do it's job, right?
>
> > > I haven't tried Hazel. But, does the same thing work in Safari? If not,
> > > there's nothing that can be done.
>
> > > > 3) I use Leech as my download manager, but it doesn't work with
> > Mailplane.
> > > > Anything I can do about that?
>
> > > Currently, Leech cannot be integrated.
>
> > > > These are definitely not dealbreakers. I already know I am buying
> > > > Mailplane. I'm just waiting for my 30 day demo period to expire, just
> > in
> > > > case Mailplane appears as the MacUpdate promo or on MacZot in the next
> > > > couple of weeks. That has happened to me often enough that I made a
> > mental
> > > > note to use the full demo period on all new applications. I just want
> > to
> > > > know if I'm overlooking something. The Automator thing is the most
> > important
> > > > for me, but I can still use the Mail application for that when I have
> > to.
>
> > > Best,
>
> > > > --
> > > > Robin Stark
>
> > > --
> > > Rubenhttp://mailplaneapp.com/bloghttp://www.twitter.com/Mailplane
>
>  Ruben Bakker // uncomplex gmbh // Switzerland // mailplaneapp.com //
> twitter <http://www.twitter.com/Mailplane>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mailplaneapp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mailplaneapp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to