and in script editor this works ?
or when you run it does it in script editor do you have any issues ?
On Wednesday, January 30, 2002, at 01:51 PM, Jackson, Luke A. wrote:
Norman,
Sorry that I was not clear. In the applescript I have the on
run and end run. I will post the applescript code later. Any other
ideas?
Luke Jackson
>Subject: Re: Applescript help?
>From: "Norman Palardy" <norm at kirais dot com>
>Date: Wed, 30 Jan 2002 08:50:05 -0700
>Make sure the applescript is written as
>on run
>tell application "getCurrent"
> return body
> end tell
>end run
everything that RB calls in an applescript starts with the RUN handler
On Wednesday, January 30, 2002, at 08:27 AM, Jackson, Luke A. wrote:
I want to automate my SN Generator so that entourage automatically
calls an
applescript which passes the body of the email to my realbasic app.
Right
now I have it so that my realbasic program takes the body from the
clipboard
and then processes the info, generates the email body and by an
applescript
create and sends the SN. I just want to automate the first part. Any
pointers on how to do this?
Right now I have a script that I can call from the realbasic app that
will
get the body of the current message. The part that I am having trouble
is
making the script so that it sends the body to my program. I thought
that I
could just do the below, but it is not seeming to work.
tell application "getCurrent"
return body
end tell
Any ideas?
and what do I need to do to get my program to accept what is sent from
the
applescript.
Thanks
Luke Jackson
---
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
---
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
|