Re: Need Help with Script
Re: Need Help with Script
- Subject: Re: Need Help with Script
- From: Rob Jorgensen <email@hidden>
- Date: Sun, 14 Oct 2001 01:58:33 -0400
On 10/13/2001, Howard Sambol commented:
To all:
I'm trying to get the following simple script to work:
set goFlag to false
tell application "FileMaker Pro 5"
try
set {fname, email} to ({field "First Name", field "Email
Address"} of front document)
set goFlag to true
end try
if goFlag then
tell application "Eudora 5.1"
activate
set msg to make new message at end of mailbox "out"
tell msg
set field "To" to email
display dialog "Enter Subject" default answer "Checking In"
set field "subject" to the text returned of the result
set body to "Dear " & fname & ":" & return & return
end tell
end tell
end if
end tell
It worked okay the first few times I ran it but now it stops as soon
as it comes to Eudora and opens the new message. I'm sorry for the
sloppy formatting. I haven't figured out how to copy/paste an
Applescript from the Script editor into Eudora and have it look
correct. All help appreciated.
The Eudora part of the script worked fine for me (Eudora 5.1/OS
9.1/AppleScript 1.6), but the line:
if goFlag then
...might need to be changed to:
if goFlag is true then
<shrug>
Later,
Rob Jorgensen
Ohio, USA