Title: Re: How to turn off cache?
On 1/26/02 7:56 PM, "Greg Cook" <[EMAIL PROTECTED]> wrote:

>>> What I want is the cached message to be deleted from the cache as soon as I
>>> move on to the next message.
>>
>> You may want it, but it's not possible. So just forget about it.
>
> I don't see why this is so far fetched. If you can delete one message from a
> mailbox (database), why couldn't one be deleted from a cache? Anyway, I'll
> take your word for it.

It's not farfetched, but it's not how they do it, probably precisely to save hard disk space, and because server messages can always be re-downloaded if necessary.. See next comment.

> I was just concerned about having messages saved in the cache that I thought
> were long deleted. That is, more personal stuff stored in the same cache as
> my professional stuff - that I didn't realize was there. One can't be too
> careful.

Only downloaded server messages are stored in a cache. All downloaded news messages from any one news server are downloaded to a cache for you to read, not as separate messages. All IMAP messages from any one account are downloaded are downloaded to a cache for you to read, not as separate messages. Same for Hotmail. But with IMAP and Hotmail, when you delete the message from he server, it appears (? I'm not positive) from the cache as well. At least you can't find it again. (But keep a sharp eye out for messages with no folder appearing in custom views. I've seen a few of these phantoms, and this might be the explanation - still in the cache.) The difference with news messages is you do not have the right or ability to delete messages from the server - it's not owned by you. They'd have to invent some totally new method to delete only from the cache just for news messages. And news is extremely low priority (doesn't sell any copies of Office, so market research has shown, it appears). They're not going to spend major valuable man-hours doing this - no point. a business decision. That's why I said to just forget about it...

>
> Actually, I think the answer may be just to create an identity for all my
> personal entourage stuff, and keep the main identity just business. I really
> like this multiple identity feature.

A good idea too.
>
> Now if only there were a way to have both identities open at once.

Not a good idea, You'd get everything confused. Do you know about option-cmd-Q (Entourage X) [shift-command-Q - 2001] for switching identities?  By applescript you can even avoid the "Switch Identity" window, and just switch in one go. If you assign a keyboard shortcut to the following script, say control-option-command-Q, by calling it

    Switch Identity \mocQ

you can just press those keys to switch identities on no time.
 

------------------ Switch Identity \mocQ ------------------


property identity1 : ""
property identity2 : ""



if identity2 = "" then -- to set up script
    
    my SetUpScript()
    display dialog "All set up!" & return & return & "From next time on, running the script will switch identities." buttons {"OK"} default button 1 with icon 1
    
    return -- quit after set up
    
else
    my SwitchIdentity()
end if

to SwitchIdentity()
    
    tell application "Microsoft Entourage"
        repeat with theWindow in (get every window)
            close theWindow saving yes
        end repeat
        
        try
            if current identity = identity identity1 then
                
                set current identity to identity identity2
                
            else if current identity = identity identity2 then
                
                set current identity to identity identity1
                
            end if
        on error
            beep
            display dialog "! You seem to have changed the name of either this or the other identity, or deleted the other one." & return & return & "A new setup follows now." buttons {" Cancel ", "Continue"} default button 1 with icon 2
            
            if button returned of result = " Cancel " then
                
                set {identity1, identity2} to {"", ""}
                error number -128 -- quit
                
            else
                
                my SetUpScript()
                display dialog "Now switch identities as first planned, or just quit script?" buttons {"Quit Script", "Switch identities"} default button 2 with icon 1
                
                if button returned of result = "Switch Identities" then
                    my SwitchIdentities() -- again
                end if
                
                return -- quit
                
            end if
            
        end try
        
    end tell
    
end SwitchIdentity

to SetUpScript()
    
    local allIdentities
    
    tell application "Microsoft Entourage"
        set allIdentities to name of every identity
    end tell
    
    set identity1 to (choose from list allIdentities with prompt "Choose your \"first identity\" for switching") as string
    if identity1 = "false" then
        set identity1 to ""
        error number -128 -- quit
    end if
    
    
    set identity2 to (choose from list allIdentities with prompt "Choose your \"second identity\" for switching") as string
    if identity2 = "false" then
        set identity2 to ""
        error number -128 -- quit
    end if
    
    
end SetUpScript


------------------------------------------

-------------------------
--
Paul Berkowitz

Reply via email to