How do I use AppleScript Editor to assign genders in Address Book?

I really wish Address Book was simple & just had a field for gender--but whatever.
There are several things I want to do; if anyone can give my some guidance or maybe direct me to somewhere that can help me with these scripts, that'd be great. I'll just use the female plans for now & then I can go back & figure out the male ones afterward based on the same scripts.
- Create all titles/prefixes as "Ms." from the value of the "father" field as "female" (It was how it was set up, by accident, from an old Facebook friend import)
- Delete the "father" field completely
- Create all titles/prefixes as "Ms." from any Note containing the symbol "♀"
- Delete the symbol "♀" from all Notes.
I'm new to this & have far more experience with HTML, BASIC & SQL, so *ANY help would be appreciated!*
Thank you for your time & consideration!
Respectfully,
Al

So far, FWIW all I've got is individual AddToAddressBook, then in AB itself, drag and drop one by one from the main list into the desired group.

Similar Messages

  • How do I use AppleScript to Change the Creation Date to the Current Date?

    I sorted my downloads folder by creation date and found that the items were sorted seemingly randomly. On closer inspection, I saw that the creation dates were not the same as the dates that I downloaded the items, so I figures that Snow Leopard was using the date given to it by the server.
    In order to get the items sorted by download date, I figured I'd use Hazel, but it doesn't have a “change creation date” item. It does, however, have an “run AppleScript” item.
    So my question is this: how do I use AppleScript to change the creation date of an item to the current date?

    TC (Techno Cat) wrote:
    Okay, I tried changing the creation date with SetFile, but it kept giving me an error:
    What am I doing wrong?
    Looks like the date and time was not quoted
    Try this Applescript. It will change the creation date of every file in the Downloads folder to the current date and time:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #E6E6EE;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    set current_date_and_time to do shell script "date \"+%m/%d/%Y %H:%M\""
    tell application "Finder"
    set filelist to every file of the alias (the path to downloads folder as text)
    repeat with currentFile in filelist
    do shell script "/usr/bin/SetFile -d " & quoted form of current_date_and_time & space & quoted form of POSIX path of (currentFile as string)
    end repeat
    end tell</pre>

  • How can I use Applescript to copy a file's icon to the clipboard?

    Hello,
    How can I use Applescript to copy a file's icon to the clipboard?
    Thanks.
    Lennox

    there is no way to do that that I know of. but you can extract an icon of a file to another file using command line tool [osxutils|http://sourceforge.net/projects/osxutils]. you can then call the relevant command from apple script using "do shell script".

  • How can I use AppleScript Studio to display an image

    How can I use AppleScript Studio to display an image in a dialog?

    Add an image well to your window in Interface Builder.
    You can also add an image file to the Resources group of your Xcode project and then set the image to be displayed inside the image well directly in Interface Builder. No AppleScript code is needed if the image is contained within your app bundle and can be set ahead of time like this.
    If the image is contained in your app's bundle but you need to set or change the image at run time then you can use a line of AppleScript to load it into the image well using just it's filename:
    set image of image view "yourImageView" of window "yourWindow" to load image "YourImageFile.jpg"
    If you need to load an image from an arbitrary location outside your app's bundle then use a path to the image file...
    set image of image view "yourImageView" of window "yourWindow" to load image "/path/to/YourImageFile.jpg"
    Steve

  • How do I use my redeemed gift card to purchase a book on iBooks when it will only give the option of "Mastercard, Visa, Amex or 'None' (Billing Address)"??

    How do I use my redeemed gift card to purchase a book on iBooks when it will only give the option of "Mastercard, Visa, Amex or 'None' (Billing Address)"??
    Desperately need help so I can purchase books for my study course!!

    Sir,
    I thought So too but then I went to Itunes Library and try and buy a single song from an album for $1.29.  Now my Itunes Gift card balance is $ 7.10 as I mentioned earlier. it still did not let me buy and kept trying billing my Visa card.
    Should I restart my PC and Itunes and retry. What do you suggest?
    regards
    Bikram Suri
    [email protected]

  • How do i sync Outlook for Mac contacts with apples address book ???

    How do I sync outlook for Mac 2011 contacts with Address book.  I updated the itunes or apple updates and it erased my contacts from the address book.  I did have is set up where the they automaticaly updated back and forth but now I can not find how to check this.  Bottom line I want my contacts back to address book. ??????? anyone.

    Outlook for Mac doesn't support contact (or calendar) syncing with iCloud because Microsoft  chose not to include the CardDAV (and CalDAV) protocals that are required (see http://support.microsoft.com/kb/2648915).  You'll have to use the OS X Address Book (Contacts) app to sync with iCloud.

  • How can I extract a picture from a contact in Address Book?

    How can I extract a picture from a contact in Address Book? Address Book is version 5.0.3 with Mac OS X 10.6.8. Btw, I don't have access to the original picture anymore.
    Message was edited by: Cormac

    You need to go to ~/Library/Application Support/AddressBook/Images and Control-click on each file and open it using Preview. Then you can export the image if you choose. Just keep in mind that these will be thumbnail quality, so don't expect large images, either in file size or physical size.

  • How do I move/copy contacts from Entourage to iCloud Address Book without creating duplicates? Address Book on Mac, iCloud, iPhone and iPad is now empty

    How do I move/copy contacts from Entourage to iCloud Address Book without creating duplicates? Address Book on Mac, iCloud, iPhone and iPad is now empty

    Thank you for letting me know!
    Going to give it a go. Had a back up of all my clients files stupidly not my software as I have the originals disks. Just realised that amongst the software is ibiz and have lost al my accounting and billing files for the last 7 years want to cry so losing my contacts now will really tip me over the edge!
    Fingerscrossed this works!

  • How do I print a page of return labels in Address Book?

    How do I print a page of return labels in Address Book?

    Okay, it's a bit of hack, but standby..
    Setup your address (that you want printed) in contacts app
    Copy that address
    Paste 30 times (or however many labels you have per page)
    Select those 30 duplicate entries, and go to print
    Viola! (When you are done you can delete the excess entries)

  • How do I sync Google contacts.I've tried opening Address Book, clicking "sync with Google"  and clicking onSync icon. But no luck

    How do I sync Google contacts.I've tried opening Address Book, clicking "sync with Google"  and clicking Sync icon. But no luck

    just enable iCloud sync and then configure, setup and then disable it. Re-setup Google and it will work

  • How do I import my contacts from iCloud onto my address book on my mac?

    How do I import my contacts from iCloud onto my address book on my mac?

    Hi veganqueen,
    If you already have your contacts in iCloud, you should be able to turn it on within the iCloud preference pane, as noted in the article below:
    OS X Yosemite: Change iCloud feature settings
    Regards,
    - Brenden

  • How do i send an email to all of my address book contacts :

    How do i send an email to all of my address book contacts :

    Select them all and drag them to the To line of a new message (or, better, the BCC line). But be aware that most e-mail servers put limits on the number of addresses a single message can be sent to and daily limits on how many different addresses you're allowed to send e-mails to, as spam control measures.

  • How do I send a message to all in my address book?

    how do I send an email to all in my address book?

    Hey Grupo Castillo,
    Thanks for the question. You can actually configure this behavior from Mail preferences:
    1. Choose Preferences from the Mail menu.
    2. Click Composing.
    3. Deselect the checkbox for "When sending to a group, show all member addresses".
    When you send an email to the group, only the groups name will be seen.
    Mac OS X: Mail - How to Hide Address Book Group Member Names When Sending an Email
    http://support.apple.com/kb/TA21082
    Thanks,
    Matt M.

  • Using isync for first time to update address book

    I just upgraded to Tiger and thought finally I could back up my contacts from my Motorola RAZR V3i.
    However the sync process only works one way i.e. updating the phone from the address book on the Mac, and does not import any contacts from the phone.
    Is this normal I can't find an answer elsewhere
    thx

    Synchronising is a two-way process, once all set-up correctly.
    From experience I've found its best to start off with your data on the Mac first, although by using the Merge on First Sync option, in theory, you should be able to get your contacts from the phone. This doesn't always seem to work.
    I don't know anything about Motorola phones, but if they have an option to Send all Contacts by Bluetooth (as vCards), use that to import your data in Address Book initially.

  • How to recover Outlook Express data, such as messages, the Address Book, mail accounts, and news?

    How to recover Outlook Express data, such as messages, the Address Book, mail accounts, and news?

    Outlook Express Repair Toolbox software is selected utility to repair the damaged/broken emails from OE. It provides best DBX Recovery service for
    chosen database including orphan files; afterward allows storing all revived files in EML, MSG, PST, RTF and DBX.
    Offers search option to add file for healing process.
    It includes understandable algorithm to recover DBX as well conversion in safe hands.
    It is practicable with each Windows OS like Win 8.1, Win 7 (32 bit- 64 bit), supports all editions of OE, and MS Outlook.
    Everybody efficiently can retrieve the lost emails plus can preserve the integrity.
    Trial version of tool is activated for 15 emails but ample to satisfy.
    Download -
    http://www.outlookexpress.repairtoolbox.com/

Maybe you are looking for

  • What do I need to burn a dvd if my mac says it doesnt support SuperDrive

    I have a Mac OS X. When i open iDvd it says: Your Machintosh does not have a supported SuperDrive. Please note that while you will be able to work with iDvd projects you will not be able to burn a DVD disc. I checked under About this Mac and under CD

  • Acrobat XI Pro Listed as updated, but not installed

    Using Mac OS10.9.4 and have CC subscription. Tried to use Acrobat, and got a serial number request, noticed that Acrobat X was installed. I uninstalled it, but noticed that there was no Acrobat XI Pro installed, even though it shows that it was recen

  • Entries in the smartform are repeating !!

    Hi, I tried to develop a smartform for printing sales order header (vbak) details. The entries are repeating in the output. for example, for "2 orders, 4 entries" , for 3 orders, 9 entries"..... Please let me know what could be the wrong in the form.

  • Unable to restore or maximise Nightly

    Using the Nightly 64bit builds, things work OK for a day or two, but then, once minimised, it is not possible to restore or maximise Nightly. Closing Nightly does not solve the problem, the only solution appears to be to right-click on the minimised

  • Can't open Photoshop after installing Yosemite

    Hi all, Not sure if this in the right place? I've got a Macbook Pro and have recently just installed the Yosemite operating system. After installing it, I have tried to open Photoshop but it is not allowing me to do so. Photoshop tells me to install