Re: Check POP3 for new mail
Re: Check POP3 for new mail
- Subject: Re: Check POP3 for new mail
- From: Matthew Stuckwisch <email@hidden>
- Date: Fri, 12 Apr 2002 17:50:16 -0500
What are my options about POP3 new mail checking?
SHELL SCRIPTS :D
Sorry, I have no idea what you mean.
I'm on 9.1
+ can you elaborate a bit more? I'm newbie to AS.
Thanks again
Shell scripts are a pleasant surprise scripters in OSX got. There is a
new command "do shell script" that passes on a CLI (command line interface)
command to a shell (or command prompt, but this one is hidden) and
retrieves the result. This is a result of the UNIX underpinnings on OSX.
For example, instead of
tell app "Finder" to set theText to read theFile
I can say
set theText do shell script "cat \"" & theFile & "\""
There are many text-based applications in the UNIX core of OSX, including
POP3 mail applications. Theoretically you could do a one line call to see
if you've got some. However, as you said, you're on 9.1, so this isn't
possible. In OS9 I honestly wouldn't know how to go about it. You could
probably do it if an AS-scriptable application is open though. But a
script to do it by itself, probably not without a lot of work.
Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa / G}(esperNET / irc.massinova.com)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.