Hi,

Thanks, that would work very well.

I'd like the option of using the third panel as well, it would allow
me to select a file with the text I wanted to send instead of just
typing text.

I'll keep searching and report back if I find anything.


On Apr 25, 10:05 pm, philostein <[email protected]> wrote:
> You could type the phone number and the message in pane 1 separated by
> a delimiter such a '>' (no quotes).
>
> Have the script do this:
>
> using terms from application "Quicksilver"
>         on process text _text
>
> Set _atd to AppleScript's text item delimiters
> Set AppleScript's text item delimiters to ">"
> Set phoneNumber to text item 1 of _text
> set messageToSend to (text items 2 thru -1 of _text) as text  -- In
> case the message contains >
> Set AppleScript's text item delimiters to _atd
>
> end
> end
>
> On Apr 26, 3:40 am, Colin Fitzpatrick <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I've written a small quicksilver applescript action that allows me to
> > send SMS messages via my providers web site.
>
> > At the moment, I invoke quicksilver, select and phone number, tab, and
> > start the action.  The applescript action then displays a dialog
> > asking for the message.
>
> > I'ld like to change this so that the third quicksilver panel appears,
> > and I can enter the message there.
>
> > I managed to make the third panel appear by setting the argument
> > account to 2, but I cannot find a way to read the second argument.
>
> > If anyone can point me the right direction, I would really appreciate
> > it.
>
> > Thanks.
>
> > Code snippet:
>
> > using terms from application "Quicksilver"
>
> >         on process text phoneNumber
>
> >                 <code to send the message>
>
> >         end process text
>
> >         on get argument count
> >                 return 2
> >         end get argument count
>
> > end using terms from

Reply via email to