Scripting Netscape Communicator Mailer
Scripting Netscape Communicator Mailer
- Subject: Scripting Netscape Communicator Mailer
- From: "Jeffrey L. McLean" <email@hidden>
- Date: Sat, 03 Feb 2001 15:55:22 -0500
My wife uses Netscape Communicator 4.73 and System 8.6 on her beige G3. I
am trying to write a AppleScript that will log onto the internet, send
queued messages, check for new messages, wait for new messages and log off.
I wrote a script for Outlook Express to do that and it works very good. But
I can't get the Messenger to Send queued Messages. Also, how do I get my
script to wait while Netscape Messenger is getting the mail?
on CheckMail()
tell application "Netscape Communicator"
activate
Open Component InBox
Handle command Send queued messages -- Doesn't work
Handle command Get new mail
return 5
end tell
end CheckMail
on Disconect()
return 5
end Disconect
on idle
tell application "Netscape Communicator"
if (connection in progress) then return 5
-- * Error * The variable progress is not defined --
try
RA disconnect
on error
activate
display dialog "Had problems disconecting"
end try
end tell
quit me
return
end idle
Thanks,
Jeff