What I am trying to do:
I receive an email from a group I work with with new member information.
It has email address, name, college attended.
I then send them a welcome letter to their email address, in the subject
line, personalize with their name, and in the body of the message start
with 'dear _first name_.
I currently copy the name, then the email address (using the clip
captured, and each text save sequentially in a placeholder called "a"
"d" "e" "F" "g"
Then using this script:
----------
; Script to send a New buddy the introduction letter for
Powerpro3.3
; for Ppro 4.1 and aol 9, added ( ) around the variable
expressions- rest same
; Now used for AOL communicator 20030919.3
;after copying the email address to clipboard tries to get 'new mail'
window open=
;
;3-13-02 modified using sequential paste - must activate
script:sequenceclip.txt
;5/23/02 after studying Phillip Kiefer's information in powerpronotes.txt-
; June 9-04 added the name to the subject line. by splitting the "keys'
command
; and changing the clipfilename to clip on the [clipcaputured],
; :[**ClipCaptured]
; *Assign f e
; *Assign e d
; *Assign d a
; *Assign a clip
;
; I came up with the following
; Modified with Dell Inspiron E1505 to
*window show "*Thunderbird*"
wait.for (1500)
*keys ^m
;wait until window to compose shows
;WAIT.For(3000, ACTIVEWINDOW("*compose*"))
;paste the previously Saved email address, then paste in the highlighted
email
; 3-13-02 modified to add 'a'
; modified back on 4-26-02 as unable to get the varaible stuff to work right
wait.for (500)
*clip textPaste &(a)
wait.for (1500)
*keys {tab}Welcome{space}
wait.for (500)
; ;per VIN request 6-8-04 insert name of new buddy into protocol
*clip textPaste &(d)
wait.for (500)
*keys ; It's Ray, your VIN buddy here :-) {tab}
wait.for (500)
*clip FilePaste "C:\Documents and
Settings\ray\Alldata\PowerPro\scripts\wvinweb.txt"
;"C:\Documents and
Settings\ray\Alldata\PowerPro\scripts\vin-newbuddymacro_thunderbird.txt"
wait.for (50)
*keys ^{home}{end}
wait.for (50)
; set up menu to find name of new VIN buddy recently added to clipboard
;was previous to 3-2002 used->*clip MenuPaste
;*clip textpaste &d - 4-26-02 moved back to *clip menupaste
; had to add the text paste, not just paste 5/23/02
*clip textPaste &(d)
wait.for (50)
; to add the 'CC emails
*keys
{slow}{shift}{tab}{tab}{shift}{down}{shift}{tab}{shift}{w4}{shift}{tab}{w4}{down}{w4}{tab}{down}{w4}[email protected],
[email protected]
-----
I kept some of my script notes in a comments section to I could remind
myself.
This script
-opens a 'compose' in Thunderbird.
-pastes the email address I need in
-goes to subject line , puts in first template, then placeholder for
name, then last part of subject line.
-moves to message section
-writes in salutation,
-pastes in name from placeholder
-pastes in a larger file 'welcome message'
- goes back up in the email address section and copies the email to two
of the folks who monitor this program.
I don't send it automatically so I can make sure it all went ok. ;-)
Thanks again in advance.
-----
Bruce asked:
>Can you repost your requirements and maybe the script you are using
now in whole. <
Ray Ramirez DVM
If at first you don't succeed, skydiving is probably not for you.