Export contacts as filename

Hey guys,
I wonder if someone is clever enough to suggest an applescript or an automator workflow to create a script file for each contact that I have. I have a script file that parses the filename and number to automate dialling through phoneamego:
tell application "System Events"
          set myname to name of (path to me)
          set extension to name extension of (path to me)
end tell
if length of extension > 0 then
  # Make sure that `text item delimiters` has its default value here.
          set myname to items 1 through -(2 + (length of extension)) of myname as text
end if
#tell application "PhoneAmego" to dial number myname name "Test"
#display dialog myname
set contactname to text 1 thru ((offset of "-" in myname) - 2) of myname
set contactnumber to text ((offset of "-" in myname) + 1) thru -1 of myname
#display dialog contactname
#display dialog contactnumber
tell application "PhoneAmego" to dial number contactnumber name contactname
I need an applescript grab the list of contacts and duplicate this file for each contact and name it by the contact name and number.  eg.Filename 1:  Bob Smith mobile -012345678, Filename2: Sarah Smit mobile -0123457800 etc.
Thanks.

Hello James,
How to Export Your Mac OS X Mail Address Book Contacts to a CSV File...
Export Your Mac OS X Mail Address Book Contacts to a CSV File
To save your contacts from the Mac OS X Address Book to a CSV (comma-separated values) file, which lets you import the data to many other address books:
• Download and install AB2CSV.
• Open AB2CSV.
• Select Mode | CSV from the menu.
• To configure which fields will be exported, you can select AB2CSV | Preferences… from the menu and go to the CSV tab.
• Now select File | Export from the menu.
• Go to your Documents folder.
• Click Choose.
The exported address book contacts are saved to a file called "everyone.csv" in your Documents folder.
http://email.about.com/od/macosxmailtips/qt/How-To-Export-Your-Mac-Os-X-Mail-Add ress-Book-Contacts-To-A-Csv-File.htm

Similar Messages

  • Exporting contacts from webex connect?

    Does anyone know of a way to export contacts and groups from webex connect?
    I have way to connect with pidgin and get them into the pidgin contact file then put script together to make a CSV to import into IM&P for each user. I'm looking for a better way to do this with WebEx connect or the Cisco webex connect/jabber client directly if possible. On the Cisco webex connect admin web tool there is not a way to export contacts in mass either. I'm thinking of opening ticket with them to get a export of all users contacts hopefully.
    Sent from Cisco Technical Support iPhone App

    Replying to my own post... for the better of the communirty here. I reached out to WebEx and there is no way to export contacts from WebEx Connect and they don't have a way either currently. Left to third party clients and piecing your own solution (script) together currently and running it with each user manually.
    Would be nice if they would add Export/Import Contacts option to the Jabber client then when you imported contacts it pushed them to the server from client PC instead of an admin having to bulk import a bunch of user contacts.

  • I would like to export contacts from my iphone 4s to my 2012 toyota bluetooth phonebook

    I would like to export contacts from my iphone 4s to my 2012 toyota bluetooth phonebook. Any ideas?

    Bluetooth file transfer has never been supported with iOS devices.

  • Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

    Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

    Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

  • Problem in exporting contact from icloud to vcf file or vcard

    i have a problem i want to import all my contacts in my android phone,
    when i export contact from icloud to vcf file
    or vcard its show the only name for some contacts not
    mobile numbers in it or blank contacts with name only,
    and i figure it out that it shows only contacts
    with mobile no in it which caption i choos at the time of creating new contact mobile,
    work or home but in some contacts i have my own caption like USA M or USA L
    that contacts with caption of my own choice only shows name of contact not numbers in it in vcard,
    please help me and solve this problem thanks
    <Personal Information Edited by Host>

    try {
    ContactList contactList = null;
    contactList = (ContactList) PIM.getInstance().openPIMList(PIM.CONTACT_LIST, PIM.READ_WRITE);
    Enumeration items = contactList.items();
    while(items.hasMoreElements()==true) {
    PIMItem item;
    item=(PIMItem) items.nextElement();
    String[] data_formats = PIM.getInstance().supportedSerialFormats(PIM.CONTACT_LIST);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    PIM pim = PIM.getInstance();
    pim.toSerialFormat(item, baos, "UTF-8", data_formats[0]);
    String vcard = new String(baos.toByteArray(), "UTF-8");
    //send vcard to the given url
    rec= processRequest(url) ;
    contactList.close();
    disCurrent();
    } catch (Exception e) {
    Alert a = new Alert("Exception",e, null, AlertType.INFO);
    a.setTimeout(Alert.FOREVER);
    Display.getDisplay(midlet).setCurrent(a, this);
    }

  • Export to pdf filename (can of worms?)

    I know this is probably a perenial post, but I'm trying to unserstand the logic of not picking up the filename in PDF exports.
    Anyone know if this behaviour can be changed in CS4.
    Adobe: Can you please give us a button in the export dialogue to chose to export to the filename?  Its a small thing, a bit like my brain, when I'm trying to remember the filename of the document and trying to keep my exports in sync with my files.

    If it's really a thorn in your side, 4 quick keystrokes can serve as a workaround:
    When you're ready to export, press Ctrl+Shift+S to bring up the Save As dialog box, which will contain the current filename, preselected for you. Press Ctrl+C to copy it, then Esc to cancel the Save As operation and dismiss the dialog box.
    Now press Ctrl+E invoke the Export dialog box, and paste the filename in using Ctrl+V.
    Sounds like more than it is...only takes an extra 2 or 3 seconds:
    Ctrl+Shift+S
    Ctrl+C
    Esc
    Ctrl+E
    Ctrl+V

  • How do you export contacts from iphone 3g to car

    I have a 2009 MB C300 sport.  I paired the phone with no problem.  I can't export contacts to the car.  Nor can I manually enter the contacts using the buttons on the car's panel. 

    iPhone only supports PBAP(phone book access profile). If your vehicle's bluetooth system does not support PBAP as well, there is no way to make your contacts available.

  • Export contact photos from Address Book [REPOST]

    Exporting contact photos from Address Book in Mac OS X 10.4 Tiger is a simple drag-and-drop to iPhoto or Finder. The picture is saved as a TIFF. However, in 10.5 Leopard, dragging the contact photo is non-responsive in both viewing and editing mode.
    How do you export contact photos from address book in Leopard?

    I dont believe you can. The address book usually makes use of photos already available on your drive, such as those in your iphoto libraryd, or the login icons, etc. Perhaps the lack of drag and drop is something they unintentionally left out, in which case you can request it by sending Apple feedback here: http://www.apple.com/feedback/macosx.html

  • Office 2011 for the mac, want to export contacts with a specific catewgory so I can produce a specific report

    office 2011 for the mac, want to export contacts with a specific catewgory so I can produce a specific report, I can do this by selecting a tab delimited file format & shows up as .olm but I can'y open this file or import to another application, any suggestions?

    http://answers.microsoft.com/en-us/mac

  • Export contacts to excel

    How do I export contacts to excel ?

    See my posts here: https://discussions.apple.com/message/21653759#21653759
    I know I posted another one relating to Numbers, but can't find it.
    Instead of sending to a TextEdit document, you can just send it to the clipboard (there is an action for that).
    Then paste it into Excel.
    Ok, here is the one with the clipboard action: https://discussions.apple.com/message/22309780#22309780

  • Contacts To Excel - Export contacts to Excel format ByAmaira Soft

    I can just get blank screen no option how to go ahead & save contacts
    Please suggest

    Hi and Welcome to the Community!
    Given your very brief description, I've no real idea exactly what you are attempting, nor with what. So, I'll just go to the beginning...please see this KB for instructions as to how to export your contacts to a CSV file, which Excel can then import:
    KB24488 How to export contacts from a BlackBerry smartphone using BlackBerry Desktop Software 6
    Note that this requires the V6 level of the RIM Desktop Software...that function was removed starting with V7. If you don't have V6, then you can obtain it here:
    http://www.blackberryos.com/downloads.php?do=cat&id=110
    Otherwise, please expand your problem description so that we can understand your situation.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Adding zeros to filenames when exporting in Lightroom "Filename-001" "Fliename-002" etc?

    Hi, does anyone know if it is possible to add zeros before numbers when exporting files eg: "Filename-001" "Fliename-002" etc? The default setting is "Filename-1" "Filename-2" ect. The reason I want to have zeros in the number sequence is that certain software will display files in the wrong numerical sequence eg: "Filename-1" "Filename-10" Filename-11" etc and then "Filename-2" after "Filename-19". If zeros are added the files will always be displayed in the correct sequence "Filename-001" "Filename-002"... "Filename-009" "Filename-010" "Filename-011" etc.

    Just customize the filename using the template editor, and use the Sequence token set to the number of leading zeroes you want, as shown.

  • HT204150 export contacts into csv file

    Does anyone know how to export contacts either from iCloud or directly from the iPhone into a CSV file?

    Does anyone know how to export contacts either from iCloud or directly from the iPhone into a CSV file?

  • How to export contacts saved in OVI suite 3.0.0.29...

    Hi All,
    Please I am in a great disaster and I will appreciate any help from anyone.
    my problem is as follows :-
    I was having Nokia N97 mobile and I am now having OVI suite 3.0.0.290 installed on my laptop, the problem is that I was synchronizing contacts between mobile and OVI suite only and the option selected in syncing contacts options is "Don't Sync" and not Microsoft outlook"" and not "microsoft outlook express".
    The problem now is that my mobile was stolen and when I opened OVI suite without connecting my N97 stolen mobile I found the contacts there and I can edit and manage anyone of them as much as I can but I can't export them out of OVI suite.
    So does anyone have the knowledge on how to export the contacts saved on OVI suite without connecting the mobile to it?
    your help is appreciated

    First activate microsoft outlook and then do acoording to following link
    http://shadyboules.wordpress.com/2011/04/03/how-to-export-contacts-from-nokia-ovi-suite/

  • Export Contacts, Calendar etc to Outlook

    How do I export Contacts, Calendar, etc from Palm Tungsten E2 Ver 4.1.4 to Outlook on Windows OS 7 64 bit?

    Hi,
    Few answers from Microsoft forum:
       http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/how-do-i-transfer-palm-tungsten-...
       http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/how-to-move-the-data-contacts-an...
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for