Title: [ANN] Entourage vCard (.vcf) Bug, and a script to fix it
In the course of developing a script to make vCard attachments (.vcf files) easier to make and automated, I discovered a serious bug in the way Entourage makes .vcf files (vCards) when you drag them to the desktop, in most cases, as instructed in the online Help. I reported it to the beta list, and Dan replicated it and confirmed it, and suggested how it could be fixed.

So, at the moment, my script is the only way to get a proper .vcf, until the next Entourage "fix" release, whenever that may be. This script was a real challenge (not just the fix, the whole thing), and basically makes an applescript vCard property for the “me contact”, which hadn’t got implemented. More details below. If anyone knows of any use for making vCards of contacts other than yourself, I could adapt the script to do that too. I have posted my script, Send A vCard E, at my mac.com web site:

E -  AppleScripts for Entourage
at
<http://homepage.mac.com/berkowit28/>


You can also find Tanaka’s osax 2.0 there, which you’ll need, if you don’t have it already (Allen’s good idea).



Send A vCard
E


Requires
Tanaka’s osax 2.0 scripting addition (osax), available free at http://macscripter.net and at http://homepage.mac.com/berkowit28/

Alert! There is a bug in Entourage 9.0 (first release) which sends faulty vCards (.vcf files) in many cases if you follow the directions in the Help and drag a contact (normally your own) to the desktop and back into a message as an attachment. There is also no way to automate or simplify the process. This script provides an easy way to do both without flaws, attaching your own vCard to a new message window in the front or to a whole group of saved outgoing (draft) messages in a folder, the Drafts folder or the Outbox. It can also be run after another script has made a large group of messages in the Outbox or a folder to add vCards to them all. It takes less than a second to run. Its keyboard shortcut makes it even easier and faster.

Entourage’s flaw is that with any postal address of normal length or longer, and particularly if it is your default postal address, Entourage will truncate it, leaving a large section of your address off the end. You also could have severely cut “Notes”, if you use that field. If none of your addresses exceed the determining length, you are very lucky. But merely having a real address as default address is usually enough to make it happen, if you include your zip code too. (It’s related to the lengths of lines which make up the code for forming the .vcf, which is increased by special coding for the default address.)

With a new message window in front, simply select Send A vCard E in the script menu or press option-command-V, and that’s it. You’ll see your .vcf attachment appear immediately, so send your message off!

Alternatively, if you have a large collection of messages (perhaps made by another script) waiting in the Outbox or any folder, simply select them all (shift-click the messages at the top and bottom of the group to select them all, or command-click individual messages to select or de-select) and run the script the same way. They will all get your .vcf vCard as an attachment.


Requirements: Microsoft Entourage. Tanaka’s osax 2.0 scripting addition (osax), available free at http://macscripter.net and at http://homepage.mac.com/berkowit28/

Author: Paul Berkowitz <[EMAIL PROTECTED]>



--
Paul Berkowitz

Reply via email to