Archive for July, 2005

Cardiris vCard 2.1 AppleScripts

I needed to use Cardiris on a mac to scan business cards and then easily import them into Mozilla Thunderbird. Cardiris can generate vCard3.0 files, but Thunderbird only accepts 2.1 (as of this writing). With this script, you can use Cardiris to generate a vCard2.1 file, and then automatically have it emailed to your email address for easy importing into Thunderbird.

Requirements

This script has been tested with Cardiris 3.0 on Mac OS X 10.3 and 10.4. The vCards it generates have been shown to import flawlessly into Mozilla Thunderbird 1.0.2 (20050404).

You must be able to send email through the sendmail program. In Mac OS X 10.3, this ability is disabled by default, but you can re-enable it using PostfixEnabler. 10.4 Tiger seems to work right out of the box.

Download

Cardiris vCard AppleScripts

Installation

  • Open “Email vCard2.1X” in a text editor and change the email address to the one you want to mail vCards to. It is listed twice in the file. Make sure and change it in BOTH places.
  • Save the file
  • Go and find your “Cardiris 3.0″ program (probably in Application folder)
  • Right click (or ctrl-click) on the program and choose “Show Package Contents”
  • Navigate to Contents/SharedSupport/Cardiris/BC
  • Place the two AppleScripts in that folder
  • Close everything & Launch Cardiris. The scripts will show up along side the other export options. You’re ready to rock.

FAQ

Q: When a try to use the script, why does the program crash?
A: The most likely cause of this is that while editing the script, you accidentally converted the file’s line breaks. The scripts MUST have macintosh line breaks.

Q: Can I write my own scripts?
A: Go ahead. Have a look at these scripts as well as the other export scripts that are included with Cardiris. Notice that the file is divided into two halves. The first half is executed for the first business card, and the second half executed for subsequent cards. Under most circumstances you’ll want the same thing in both halves.

License

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

The full text of the GNU General Public License is available at:
http://www.gnu.org/licenses/gpl.txt

No comments