• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Outlook Express scripting question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outlook Express scripting question


  • Subject: Re: Outlook Express scripting question
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 08 Aug 2001 19:29:23 -0700

OK, now that I can access my classic osaxen, here's an answer of sorts.

On 8/8/01 11:20 AM, "Mr Tea" <email@hidden> wrote:

> Some of my Outlook Express accounts have the 'allow online access' box
> checked, so that they appear in the OE folder list. If possible, I would
> like to use Applescript to refresh the message list for one of these
> accounts (at regular intervals, using an OE schedule). Is't possible?
>
tell application "Outlook Express"
connect to POP account "Your Account 1"
-- connect to POP account "Your Account 2"
end tell

or

tell application "Outlook Express" to connect to every POP account

run from a schedule will do this, but will also download the messages to
your Inbox. I bet you're looking for a way just to refresh the server
online access without downloading?

What you're really wanting here is something that can be done with IMAP
accounts. Do you have a way of getting an IMAP account instead?

Well, here's a really tacky workaround for what you want. First, when you
first launch OE, open up your server into its own window by double-clicking
it in the Folder Pane. There's absolutely no way to script that, but if you
forget, you'll be reminded the first time the schedule runs. (You might want
to set it to run "At Startup" as well as on a repeating schedule.) Then set
the schedule to run this script, with Sigma's Additions installed. each time
the schedule runs, the server's window will flash to the front for a split
second, then will retreat to do its stuff unattended. You can check it
whenever you feel like it.


tell application "Outlook Express"
activate
set theServer to name of POP account "humanitas"
set frontWindow to name of front window
try
select window theServer
on error
beep
display dialog "Open up your online access " & theServer & " account
into its own window, for the refreshing script to work." buttons {"OK"}
default button "OK" with icon 2
return
end try

type text "l" holding down command -- Sigma's Additions [lower-case "L"]

select window frontWindow -- puts it back to the front

end tell




--
Paul Berkowitz


  • Follow-Ups:
    • Re: Outlook Express scripting question
      • From: Mr Tea <email@hidden>
References: 
 >Outlook Express scripting question (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: Compiling Classic osaxen in OS X
  • Next by Date: Re: Outlook Express scripting question
  • Previous by thread: Outlook Express scripting question
  • Next by thread: Re: Outlook Express scripting question
  • Index(es):
    • Date
    • Thread