Address book save command

the save command is never activated, only grayed out, I always have to export the all group. what is the save command for then. can you rename the all group.

I run this nightly, but you could run it more often. In OS X 10.3 iCal also regularly lost its data, so it makes local copies of both - you could easily remove the iCal part (it seems a lot more stable in 10.4).
Read the script before using!
AK
<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">(* Backup locally the data files used by Address Book and iCal *)
(* copies are stored in ~/Library/CalBackup (created by the script) *)
(* Maintains MaxBackUps copies, most recent in folder "1", oldest in "MaxBackUps" *)
(* Save this as script CalBack in ~/Library/Scripts *)
(* Run it with cron, or as a repeating alarmed item in iCal (not recommended) *)
(* To set up for cron, start Terminal and give the command crontab -e *)
(* Type i to put the editor into insert mode *)
(* Type 1 1 * * * /users/xxxxxx/Library/Scripts/CalBack *)
(* but putting your login name instead of xxxxxx *)
(* then press the escape key to exit insert mode *)
(* Type to save the file and exit the editor, then quit the Terminal *)
(* The 1 1 * * * tells the timer to run the script at 1 minute past 1 am every day. If *)
(* you want it run at 27 minutes past 9 pm then change it to 27 21 * * * *)
(* AK March 2005 *)
set MaxBackups to 5 --change to suit your requirements
--pick up directory path
set WhoAmI to ((path to home folder) as string) & "Library"
set iCalPlace to WhoAmI & ":Application Support:iCal"
set ABPlace to WhoAmI & ":Application Support:AddressBook"
tell application "Finder"
--make our backup folder if necessary
if not (exists folder (WhoAmI & ":CalBackup")) then
make new folder with properties {name:"CalBackup"} at folder WhoAmI
end if
--Loose folder at limit
if exists folder (WhoAmI & ":CalBackup:" & (MaxBackups as string)) then
delete folder (WhoAmI & ":CalBackup:" & (MaxBackups as string))
end if
--Roll on backup folders
set TheCount to count of folder (WhoAmI & ":CalBackup:")
repeat with TheCount from TheCount to 1 by -1
set name of folder (WhoAmI & ":CalBackup:" & TheCount as string) to (TheCount + 1) as string
end repeat
--make new backup folder 1
make new folder with properties {name:"1"} at folder (WhoAmI & ":CalBackup")
duplicate every item of folder (iCalPlace) to folder (WhoAmI & ":CalBackup:1")
duplicate every item of folder (ABPlace) to folder (WhoAmI & ":CalBackup:1")
end tell
</pre>

Similar Messages

  • Address book print command pulls other info into address

    When I set up to print labels from the address book, it pulls other family member names into the first line of the address even tho they are not part of the contacts name. Any way to avoid this?

    The only way to avoid this is to not have that other information in the Contact. I think this document explains it pretty well: http://support.apple.com/kb/HT3952

  • Does Address Book Save The Pictures Used In A Contact Card

    I added an image to a contact card, and was wondering if the file must stay on my hard drive for it to show in Address Book.

    The original image needn't be kept. Address Book keeps its images in (user)/Library/Application Support/Address Book/Images.

  • Why won't Address Book save "make this my card"?

    Mail has suddenly quit retaining my card as "me" no matter how often I re-select it. Even keeping Address Book open and minimized while I work does not do the trick. I also run Entourage and use it as my principal mail and address book & calendar; however, Safari's AutoFill won't work off the saved "me card" in Entourage. Anyway, it is a pain. Any suggestions?
    Message was edited by: loonranger
    Message was edited by: loonranger

    No replies. Finally got problem solved by re-installing.

  • Address Book back up & Apple Script

    I would like to set my Address Book (and iCal) to back up automatically on my hard drive. I already back it up and sync it to my laptop using .Mac, but I would like to have a back up on my external hard drive, as well.
    Can I create an Apple Script to do this or is there a simpler way that I am missing?

    I posted a script here a few days ago (see Apple - Support - Discussions - Address book save command ...) - it should be fairly easy to modify it for what you want.
    AK

  • Address Book: can't "re-open" window once I closed it (Command-W)

    I closed the Address Book window (Command-W) and now want to "re-open" it. So I press Command-Tab to get to Address Book and I can't "re-open" Address Book so I can see it again!

    Someone gave me this answer....
    Actually, there is, as I recently found out....much to my astonishment. It is a bit hard to describe, but actually easy to do. If you have minimized a window to the Dock, use the Command-Tab shortcut to get to the application. With the application selected press the Option key and release the Command key. One minimized window of the application will become un-minimized (if you have more than one minimized application window, you have to un-minimize the other windows the old fashioned way). If the application is hidden, the same steps will make it reappear: Command-Tab to the application, press the Option key and release the Command key.
    Francine
    Francine
    Schwieder

  • Address Book write LDAP server command via terminal or remote desktop

    Hi folks.
    I was wondering if anyone has had any experience issuing an 'address book' setting command, to ADD an LDAP entry, via terminal or remote desktop?
    In particular, I want to "ADD" a new "LDAP" entry for a specific server, on 40 workstations, using terminal or remote desktop, so that I don't have to leave my desk
    I recall that you can issue commands from the terminal, starting with "write"... to add such preferences.
    Any thoughts, ideas, or inspiration?
    Many thanks,
    Derek

    Hi,
    As far as I know, We couldn't use Command Shell as you list to establish a Remote Desktop. You can use
    mstsc /? command to view all mstsc.exe command parameter. We can use the command
    mstsc [<connection file>] to establish a Remote Desktop Connection.
    However, why did you want use command shell to establish a Remote Desktop? It would be more convenient using
    mstsc [<connection file>] command to establish a Remote Desktop.
    If you need further assistance on this particular issue or any other Windows related issue, let us know and we will be glad to assist you.
    Roger Lu
    TechNet Community Support

  • Import From Excel to Address Book?

    I have several large lists in an Excel file that I would like to import into address book easily. Can this be done? If so, please provide some direction.

    Save the files as tab delimited or CSV files and import using the address book import command
    from Address Book help
    Home Index
    Importing contacts
    Address Book can import contact information that you save or export from other applications in vCard, LDIF, tab-delimited, and comma-separated (CSV) formats.
    You can export addresses in LDIF format from Netscape, and vCards from Palm Desktop, Entourage, Outlook, and others. You can export text files in tab-delimited or CSV format from most databases.
    To import addresses from other applications:
    Export addresses from the other application in vCard, LDIF, tab-delimited, or comma-separated (CSV) format.

    When exporting tab-delimited or CSV files, you may want to note the order of the information fields. If the file doesn’t contain labels, you can refer to your notes to manually identify the fields in a later step.

    When exporting from Palm Desktop, use the default column layout.

    Verify that exported .txt or CSV files don’t contain line breaks, which can cause the import to fail. >Use a text editing application such as TextEdit to find and remove the line breaks.
    In Address Book, choose File > Import, and then choose the format of the exported file. Choose “Text File” for a tab-delimited or CSV file.
    Select the file that contains the exported addresses and click Open.
    If you are importing a text file, use the pop-up menus in the Text File Import dialog to specify how to import the data.

    If the first record contains labels instead of contact information, select the “Ignore first card” checkbox.

    Use the left and right arrows to see different records in the file you’re importing, to help you determine how to set the pop-up menus.

    If you don’t want to import a field, set the pop-up menu to “Do not import.”

    To set the pop-up menus for address fields, choose the type of address (home, work, or other) in the pop-up menu next to the first item of the address. Then use the address pop-up menus that appear to choose the corresponding data for each address field.
    If the application you’re exporting contacts from supports it, export vCards that include multiple contacts to speed up importing.
    To see the most recently imported contacts, click Last Import in the Group column. This list is updated each time you import contacts. Use the View menu to show or hide the Last Import item in the Group column.
    You can use iSync to import contacts from your Palm device. For more information, open iSync, choose Help > iSync Help, and then search for “palm.”
    LN

  • Can I make a Copy of Address Book?

    Hi,
    I really like Address Book. I have a group of children that I'd like to make a list of. They are all part of a program that was formed back in 1992. Our club has recruited about 1300 since then and I would like to make use of Address Book as a way to track and record them. I have a directory in a Word category, but it doesn't work the way Address Book does, and is difficult to use sometimes. The notes section of Address Book where a majority of data would obviously be placed, would also be a great way to keep contact with them if we have any activity that may interest them.
    My questions are:
    1. Can a copy of Address Book be made so that I can have Address Book #1 which I currently use, and then #2 for the children in the program?
    2. If this can be done, would I be able to keep a separate mail program to track correspondence?
    Thank you for any help!

    For the Address Book, you can simply create a Group for your club. Click the + sign in the bottom left corner, and create two (or more Groups). You may want one for your club, one for your personal contacts. When you click on that Group, you will see only those contacts. This is your best bet if you want to stick with Address Book for this.
    If you want two truly separate address books, that is more difficult to manage. You can have a personal address book, and use File > Back up Address Book to save that as an archive. Then delete those entries and put your club members in. Then use File > Back up Address Book again to create an archive of that book (give it a different name!!). To switch between books, use the File > Revert to Address Book Backup command to load the other book. You will need to re-back up each book every time you make a change to it else the changes will be lost. That's why you're better off using the Groups - that's what they're for!
    As for Mail, again, separate programs are not the best solution. You can set up a different email account specific for your club emails (with your ISP, gmail, whatever) and different User Profiles in Mail for your personal email account and your club email account. If you are going to use only one email account, you can set create a folder in Mail to store your club emails, and you may consider a filter to sort replies from those 1300 people into a folder automatically.
    Hope this helps...

  • Safari Address Book Collection

    In Safari 4.0.5 if you open bookmarks you see a set of collections, and then a set of bookmarks. One of the collections is titled Address Book. It came with three addresses for Apple. At some point in the past while on whatever version of Safari that came with OS 10.4 I managed to add three addresses which are no longer relevant to me. However I was unable to find a way to delete the entries. I tried highlighting the entry and hitting delete key. Didn't work. Tried highlighting and EDIT/DELETE from menu. DELETE was grayed out. I tried command, option control and combos of them while hitting delete. Didn't work. I tried dragging from the Safari Address Book collection to a bookmarks folder. It did copy the address to the bookmark folder where I could delete it but didn't move the original out of Address Book collection.
    The add button is grayed out when in that collection so I can't add any new entries either. To add I tried dragging a card from the address book application to Safari. Didn't work.
    So how do I add and delete addresses in this collection?
    Any help gratefully appreciated.

    Hi David
    Those URL's are established in Apple's Address Book. Open Address Book, go to the particular address book entry, command/L keys to enter edit mode, or click the edit button at the bottom. Remove the URL, then Command/S keys to save.
    Restart Safari. The entries ought to be gone now.
    or
    If you don't want to see the URL's in Safari but want to preserve the Address Book entry, go to Safari Preferences>Bookmarks panel and deselect Collections: Address Book at the bottom.

  • Mail and address book data file location

    Does anyone know where mail and address book saves its data?
    My old mac died but I was able to remove the hard drive and mount it in a external firewire case. The drive mounts and appears in good shape. I tried using the migration utility to transfer my data into my new iMac. While a lot of data and applications did make the move, my mail files and folders did not show up on my new iMac. I'm hoping I can transfer the mail files manually. The problem is I can't find where they are located on my old computer. I was using Max os 10.4.11 on my old computer.
    The same problem with my address book data. It did not transfer over with migration app. and I can't locate this data either.

    The majority of Mail is in...
    /Users/YourUserName/Library/Mail
    AB...
    /Users/YourUserName/Library/Application Support/AddressBook

  • Address Book Contacts disappeared after accepting Mac/Intel update

    I received a normal update message from Apple this morning for my MacBook. I accepted and the update downloaded and installed. The MacBook rebooted. When it came back, my Address Book was empty. Any advice please?
    thanks
    Malcolm
    MacBook   Mac OS X (10.4.10)  

    Hi,
    I saw this happening various times, although not neccessarily connected to software updates...
    Close your Address Book with Command+Q (if open). Then in the Finder go to /Users/youruser/Library/Application Support/Address Book
    There you will find (among other files):
    AddressBook.data
    AddressBook.data.beforesave
    AddressBook.data.previous
    Move the first (.data) to your Desktop and rename the one with ".previous" to AddressBook.data
    Now open Address Book. You may have lost recent changes, but should have back most of your addresses. If not, try the same steps as above, but rename the file ".beforesave" to AddressBook.data instead of ".previous"...
    If you're done, you can delete AddressBook.data from your Desktop. This was just moved there so that you can rename the other.
    Björn

  • Where are address book photos saved?

    When I add an image to a contact I can drag-drop an image and select cropping etc., my question is: where does address book save the modified image?
    Kind Regards
    Robert

    Hi,
    Try posting in the iPhone forum instead here. http://discussions.apple.com/category.jspa?categoryID=201
    When you post for help here in the AD forums, in the future, please start your own topic.
    Select the forum category here: http://discussions.apple.com/index.jspa
    Select the sub category that best meets your needs.
    Click: Post New Topic.
    Try ~Library/Ringtones
    See if that is where they are stored.
    iPhone - Ringtones - FAQ's
    Carolyn

  • Address Book does not save

    I am having problems with Address Book in OX Lion. 
    Background:
    I am in the process of moving my contacts from outlook to address book.  I have copied the vcards to my mac and are adding the ones I want one at a time. 
    I have had several instances where the address book locks up and is non responsive and I had to do a force quit on the application.
    Secondly, when I add an address, new ones do not show up in email.  I added an address and then tried to address an email to that person and it did not appear.  Thirdly, I edited an existing contact to add phone numbers.  I then closed the application (command Q) and then re-opend it and neither the new contact or the phone numbers added to the existing contact apperared. 
    So my questions are:
    1) When does the content of address book get saved?  In my Address Book, the save menu pick is greyed out and command s does not work.
    2) When should I expect new content to appear to other applications like Mail?
    The lack of clear and consistant operation is giving me a real headake.  I have done hours of work on contacts to then discover most of my work did not stick. 
    Any education on how it works, or should work is appreciated. 
    Direct answers to my question is also appreciated.
    - Dave

    I visited the local Apple store in order to get support from a local expert.  They showed me how to export from Outlook as a CSV file and then import into the address book.  This is not as good as using vcards because you have to be very carefull with the mapping of fields.  I made a mistake with this and had to go in and manually edit each imported contact.  The vcards are formatted correctly from the start. 
    I am still looking for a resoultion to my original issue, or a simple fool-proof method of moving contacts from Outlook to Address Book.

  • Is there a way to automatically save e-mail addresses to address book?

    I know when composing an e-mail, command-Y will result in saving the address on the outgoing mail to the address book. Is there a way to set up mail so that ANY outgoing mail I send results in saving the e-mail to my address book - automatically, without the extra step of command-Y?

    In that case, you may also find the following collection of AppleScripts useful:
    http://homepage.mac.com/aamann/Mail_Scripts.html

Maybe you are looking for

  • I downloaded ios7 and now some apps won't open even after resetting them. Don't won't to lose my info by deleting them and starting over. What to do?

    I downloaded ios7 and now some apps won't open even after resetting don't won't to lose my info by deleting and starting over.. What to do?

  • IPhone 4 bluetooth no longer working in my 2010 Hyundai Tucson. Need Help.

    Hi.  I have a 2010 Hyundai Tucson.  In June of this year I bought the iphone 4.  I was able to use the bluetooth / pairing in my Tucson with no problems.  It was great because I could just push the buttons on my steering wheel to talk on my phone thr

  • Adobe X standard

    When commenting on documents with text callouts. I can change the properties ok. But after Adobe is closed and reopened changed properties are not saved. Any feed back on how to make properties to stay as default?

  • Gwac.db disappears

    We are running Groupwise 7.0.3 on a SLES10sp2 server with GWAVA4. This system was migrated from a GW7 NW6.5 server and is working great with one exception. Every 5 or so days the gwac.db file is mysteriously removed from domain/wpgate/gwia When this

  • Japanese Titles

    Hi All, Our 'Title' field contains multi-lingual values. These are not translated as titles differ by country and it happens to be an international deployment where users add contacts from different countries and need the ability to select the correc