On 1/16/01 12:47 AM, "Barry Wainwright" <[EMAIL PROTECTED]> wrote:That would explain why it wasn’t at applescriptcentral.com!
I've seen this mentioned a few times by people who have imported existing address databases into E'rage.
All the addresses end up in the 'Work' fields. I looked at Applescript Central for a script to swap the addresses over, but couldn't find one, so here is one available for anyone that wants it:
There is a rather more elaborate script called "Swap Work and Home Addresses" which is part of the Office Extras "Value-Add" scripts at MacTopia web page: <http://www.microsoft.com/mac/download/default.asp?area=O2001>
That seems a curious way of doing things. Surely a swap addresses script can only work while E is open and an address is selected (or flagged or whatever other criteria are used for determining which addresses to swap). Why would MS issue a script specifically for an application that runs compiled scripts as an applet?
They're saved as applets to be able to use them from outside Entourage, and can be resaved as compiled scripts to use from within the script menu (quicker).
My Bad.
BTW, Barry, I've been meaning to ask why you use raw codes everywhere, rather than the application terms in the Entourage AppleScript Dictionary.
I write my scripts using the application keywords in Smile without {tell app “whatever”} blocks to avoid the “where is app xxx” dialogs. When saved/re-opened the raw codes are displayed. Normally I wrap them in tell wrappers before posting the text of a script to get the applications syntax back again, but I forgot and with this being so short I didn’t proof read it!
--
=Barry Wainwright=
<http://homepage.mac.com/barryw>
____
-|__) _, ,_ ,_
_|__)_(_|_|__|_(_|
__|
