Changing OE identity from the script menu
Changing OE identity from the script menu
- Subject: Changing OE identity from the script menu
- From: Kai Edwards <email@hidden>
- Date: Wed, 12 Dec 2001 19:28:49 +0100
I know that Outlook Express has a tendency to crash in certain situations,
but can anyone offer an explanation why the following script should cause
problems? (I'm using OE version 5.02):
on run
tell application "Outlook Express"
set currID to name of current identity
if currID is not "Test" then set current identity to identity "Test"
end tell
end run
The final script is longer - but the above extract is the bit that's
furrowing my brow.
When tested from Script Editor or as an application, the script seems to
work fine. However, since I'm trying to call it from within OE, I've saved
it as a compiled script in OE's Script Menu Items folder.
When I select the script from OE's script menu, it starts to run but never
completes the routine. Instead, after closing the main window, OE hangs and
can only be cured by forcing a quit and re-launching. A try/error block
within the script yields no clues as to a possible cause.
Have I missed something screamingly obvious?
--
**********************************
Kai Edwards Creative Resources
1 Compton Avenue Brighton UK
Telephone +44 (0)1273 326810
**********************************