CreateVCardFile ( FirstName ; LastName ; CompanyName ; Phone ; Email ; WEB ; hAddress1 ; hAddress2 ; hZip ; hCity ; hCountry ; wAddress1 ; wAddress2 ; wZip ; wCity%2
Create a vCard file on users desktop, ready for launch URL to add contact to address book. Requires tori File plugin.
Average rating: 3.0 (2 votes) Log in to vote
Ole Kristian Ek Hornnes
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
For implementation in a contact register. Use this function in a little two-liners script:
Set Variable $path = CreateVCardFile ( .... )
Open URL ( "file:/" & $path ) ;
Connect it to a button and thats all.
If you dont want to mess up the users desktop, you can change "Get(DesktopPath)" Get(TemporaryPath), or any other desired location of the file.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.