Re: Saving an attachment from Entourage
Re: Saving an attachment from Entourage
- Subject: Re: Saving an attachment from Entourage
- From: "Jason W. Bruce" <email@hidden>
- Date: Sun, 11 Nov 2001 18:40:56 +0000
Dave,
You make a script work on all found records in Palm as follows:
Tell application "Palm Desktop"
set upperlimit to count of every address
repeat with loopvariable from 1 to upperlimit
set strFullname to full name of address loopvariable
etc., etc,
end repeat
end tell
Counting every address in Palm counts the number of contacts in the current
found set. Address 0 refers to the contact displayed as a business card.
In addition, you shouldn't really think in terms of copying and pasting, but
more in terms of setting the contents of variables, and retrieving the
contents of variables. I haven't scripted Eudora so don't no the specifics,
but it seems to me that if you put the contents of your Word Perfect
document into a variable named thetest, and then set the field 'subject' in
Eudora to thetest, then the contents of your Word Perfect document should
appear in the subject field in Eudora.
Jason Bruce
>
Hi any expert,
>
>
Is there a way to make this script work on all found records in Palm?
>
The end result has to be notifying via email several found records.
>
>
If that woks easily, is there a way to tell it what to copy and paste
>
instead of 'thetest' for the subject? For example let us say that I
>
have a folder where I keep what I want to send to all the persons on
>
a list in Palm. I might keep my writings in a Word Perfect document.
>
Of in a Palm note if that is easier. I will want more than the 256
>
characters available in the comments section of Palm.
>
>
I have hear the term dictionaries mentioned and I assumed that every
>
application that is scriptable has it's own terms to use in
>
scripting. Is that true? If so, where is it? Or is it possible to
>
just mix and match by trial and error as I have been , uh, attempting?
>
>
Thanks in advance.
>
>
Dave Groover
>
>
tell application "Palm Desktop"
>
set strFullname to full name of address 0
>
set strEmail to text of address 0
>
end tell
>
set pTheAddress to strFullname & " <" & strEmail & ">" as string
>
tell application "Eudora"
>
activate
>
make message at end of mailbox "Out"
>
tell message ""
>
set field "to" to pTheAddress
>
set field "subject" to thetest
>
end tell
>
end tell