Address Book global display ....
Hi ... Like in Snow Leopard and all previous OS X's Address Book's is there a way to show all at once the group names, the contact name and the contact details, without having to turn pages every time ?
Thanks ... What a mess !
I have migrated to Lion !! Did I do the good thing ? Not realy sure ... Before migrating, I was almost sure that I was better off not doing it. I still have this impression ... I feel that Apple has tried to reinvent something that was not broken. I understand the unifying Mac OS and iOS is a good idea, but I don't think that it is necessary to trash what was already good. Take for exemple the Address Book. The new book metaphor is not intuitive. Digital data manages many levels of information at a time, while physical books manage only a few.
Previously Address Book showed Group names, contacts names and contact details. Now to see all of this you have to turn physical pages. This is going backward and complicating things.
The problem Apple will face is with it's growing user population, it will begin having Microsoft's problem: satisfy to many types of customers. This path will probably normalize by the bottom, meaning that the final product will have to be appealling to many not necessarelty to be genial. To be genial, has been Apple's flagship and what has made it the best.
Physical books have physical limitation. Computers can display many level of data simultaneously. Replicating a physical book is not a good idea, if it is not augmented to computer reality.
Where is my good old fashion OS X Address Book ? Is Lion really an upgrade or a downgrade ? And now Moutain Lion is coming !!
Similar Messages
-
Currently my address book only displays e-mail addresses. It uses the portion of the address in front of the @ as the name. How can I sync it with my i-phone 4S that has name/numbers and addresses of my contacts?
Hello there, Seta.
You are correct that this can be done with iCloud. The following Knowledge Base article provides some great instruction for syncing contacts:
iOS: How to transfer or sync content to your computer
http://support.apple.com/kb/ht1296
Particularly:
Contacts, Calendars, Bookmarks, and Notes
You can sync contacts, calendars, bookmarks, and notes with other applications on your computer. This allows you to keep all your information in sync across multiple computers and iOS devices. The settings for these items are all in the Info tab for your iOS device in iTunes. With your iOS device connected to the computer, select your iOS device. Then click the Info tab.
For details on syncing content on your iOS device with your computer, click the sections below.
Contacts
To sync contacts with your computer, choose "Sync Contacts with" within iTunes for Windows, or "Sync Contacts" in OS X v10.8, or "Sync Address Book Contacts" in OS X v10.7 and earlier.
You can sync your contacts with:
Microsoft Outlook 2003, Microsoft Outlook 2007, Microsoft Outlook 2010 (Windows XP, Windows Vista, Windows 7, and Windows 8)
Windows Address Book (Windows XP)
Windows Contacts (Windows Vista, Windows 7, and Windows 8)
Address Book (Mac OS X v10.7 and earlier)
Contacts (Mac OS X v10.8)
Microsoft Entourage 2004, Microsoft Entourage 2008, or Microsoft Outlook 2011 for Mac
Notes:
When syncing contacts, you can choose to sync all of your contacts or only selected groups. The option to sync selected items may not show up until after the first sync.
You can select a group of contacts to which all new contacts created on your iOS device will be added.
Additional options for syncing include syncing your contacts with Yahoo or Gmail/Google Mail. You will need to configure it with the user name and password for your Yahoo or Google account.
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
Outlook Connector - Address book - Global Address List
Using Outlook Connector version 7.2.402.1 on both Outlook 2003 and 2007 I am having an issue when trying to view the Global Address List. The vertical scroll bar doesn't activate unless I resize my Address Book window. Even after that it doesn't work that well. It is very erratic.
I have set up a VLV index for the Address book as follows:
dn: cn=outlook_connector_browsing_index,cn=xyz,cn=ldbm database,cn=plugins,cn=config
cn: outlook_connector_browsing_index
objectclass: top
objectclass: vlvSearch
vlvbase: o=xyz.edu,dc=xyz,dc=edu
vlvfilter: (&(mail=*)(cn=*))
vlvscope: 2
dn: cn=Sort cn,cn=outlook_connector_browsing_index,cn=xyz,cn=ldbm database,cn=plugins,cn=config
cn: Sort cn
objectclass: top
objectclass: vlvIndex
vlvenabled: 1
vlvsort: cn
Doing a tail -f on the access log while using the Address Book I can see the VLV index being used. Is there something buggy with the Outlook Connector or is there something I missed in the VLV index?
Thanks,
Scottkarl.rossing wrote:
It does not seem to work with SSL connections. When Outlook starts up, I get an error that it cannot connect the address book server.I was able to find the following that may be a cause for your problem:
http://wikis.sun.com/display/CommSuite/Connector+for+Microsoft+Outlook+7.3+Release+Notes
6228253 : Login to Address Book server fails through Outlook.
Users are unable to log into the Address Book server though Outlook if the Address Book (in Communications Express) is in SSL mode.
Workaround: Open Communications Express within Internet Explorer and permanently accept the self-signed certificate.In this case instead of Communications Express, you would log into Convergence using the SSL path (https://server.domain.com/iwc) and permanently accept the certificate.
Regards,
Shane. -
Address Book Global Field Changes
Is there any way to make changes to a specific field in Address Book for several cards?
I have a distribution list of close to 700 cards, and I need to change the 'Job Title' field for each one of these cards.
I can't seem to find a 'find and replace' in Edit. There is the command-E for 'use selection for find', but I can't figure out how that works.
ThanksThanks ... What a mess !
I have migrated to Lion !! Did I do the good thing ? Not realy sure ... Before migrating, I was almost sure that I was better off not doing it. I still have this impression ... I feel that Apple has tried to reinvent something that was not broken. I understand the unifying Mac OS and iOS is a good idea, but I don't think that it is necessary to trash what was already good. Take for exemple the Address Book. The new book metaphor is not intuitive. Digital data manages many levels of information at a time, while physical books manage only a few.
Previously Address Book showed Group names, contacts names and contact details. Now to see all of this you have to turn physical pages. This is going backward and complicating things.
The problem Apple will face is with it's growing user population, it will begin having Microsoft's problem: satisfy to many types of customers. This path will probably normalize by the bottom, meaning that the final product will have to be appealling to many not necessarelty to be genial. To be genial, has been Apple's flagship and what has made it the best.
Physical books have physical limitation. Computers can display many level of data simultaneously. Replicating a physical book is not a good idea, if it is not augmented to computer reality.
Where is my good old fashion OS X Address Book ? Is Lion really an upgrade or a downgrade ? And now Moutain Lion is coming !! -
Can Address book view/display personal "shared contacts" from Exchange?
It seems not to, but I'm curious if I'm missing something.
If I add my Exchange account to Address Book, I can search the GAL. That works fine.
But I do not see any "shared contacts" from individual users who (in Outlook on Windows) allow me to see their personal Contacts list.
Is this feature just not there?
- SteveI am trying to figure this out too.
Anyone? -
Address Book Not Displaying Data
Hi,
This morning I ran 10.4.8 and security updates on my MBP. Now when I open Address Book, I can see all my contacts listed, but not any of the data when I click on a name or search for one.
I have deleted prefs and tried reverting to AddressBook.data.previous in my user Library. I have also replaced my Address Book from my .Mac acct.
It's not that I have no contacts, but that I can't view them. Double clicking does nothing and editing simply depresses the Edit button, but I still see nothing.
Any ideas?
Thanks.Another relatively straightforward thing that I’m realizing now you appear to not have tried yet (it could be a font issue, but I’m not sure) would be reinstalling the Combo Update for the type of computer and the version of Mac OS X you’re using, unless this is the version of Mac OS X that came with your computer:
About the Mac OS X 10.4.8 Combo Update
Mac OS X 10.4.8 Combo Update for PPC
Mac OS X 10.4.8 Combo Update for Intel
Take a look at the following articles for guidelines on how to properly install system updates:
Troubleshooting installation and software updates
Installing software updates
Basically, you should verify/repair the startup disk before installing the update (which you’ve said you’ve already done), no applications should be running while installing it, and you may experience unexpected results if you have third-party system software modifications (not normal applications) installed. -
How do get my address book to sort/display by Last Name?
I would like my Thunderbird Address Book to display by Last Name. How can I accomplish this?
In the Address Book, display the menu, then '''View|Show Name As…'''
then sort in the usual way.
http://www.ramsden.org.uk/8_How_to_sort.html -
Address Book - downloading vCard no longer displays updated/new contact
On 10.5.6 and earlier, if I had an option in an application to Download a users vCard, I could click it, be given the option to add, review or merge with an existing contact. Address book would display the new/updated contact for verification/editing.
On Snow Leopard 10.6.1 (Address Book 5.0), everything pretty much works the same except I am not taken to that new/updated contact. I must manually scroll or search for the contact to see if it is acceptable. With 1500+ records, it is kind of a drag.Add me to this problem:
Not only is the new contact not displayed, it's placed in the Last Import group, and there's no way to remove it. Deleting from that group deletes the record in ALL GROUPS.
Subsequent vcf/vcard downloads are simply added to Last Import, along with previously imported records. -
How can I change the display name of a contact in my address book?
If I open one of my contacts in the Address Book, the display name is the name of the organization. I want it to be the last name of the individual. How can I change that?
Thank you for your reply. I realize from your answer that I didn't poise my question properly! If I have not entered anything in the 'Display name' field then the message header (i.e. the title of the business card) follows by default the name of the 'Organization'. I wanted to know if it's possible to change this so that the message header of the business card follows the 'Last name' of the person and not the name of the 'Organization'. Thank you!
-
Apple Script to Sort through the Address Book
Dear All,
I am quite new to Apple and just a learner on Apple-scripts. Its been quite a task to learn.. I would require some help on a few things..
The script will eventually use numbers to send email and get the user inputs and any yet to reach there..
After going through lots of scripts to sort through the address book and make a clean address book, i found they are quite slow in processing takes about 20~30 Minutes to get through 2000 Contacts..
Hence after reading posting of Mr. Koenig & Mr. Hiroto and specifically on deep copy. I have written the following code which does the following on 2000 records within 6~8Mins.
The Script work its way through all the contact is the address List.. and creates Groups
1. Duplicate Email Id's — List of Contacts with same email ID's including Contacts where the email Id is entered twice.. (Strange.. Address Book Issue, copy of the email Id under work & home)
2. Duplicate Phone — List of Contacts with same Phone Numbers including Contacts where the Phone Nos is entered twice.
3. Duplicate Name — List of Contacts with Same Names
4. Duplicate No Name — List of Contacts without the First Name and Last Name
it also sort the Contacts under the following Group which you can edit later with all the information's..
1. Only Email Ids — List of Contacts with Email ID and No Phone Numbers
2. Only Phone — List of Contacts with Phone Numbers and No Email Id's
3. No Email or Phone — List of Contacts with No Email Id's and No Phone numbers (some half completed contacts )
My Question to the forum is why is the following code still taking too much time..
set onlyDupEList to every person of group theGroupEmail
repeat with j from 1 to count of Dup_email
set tempdata to item j of Dup_email
if onlyDupEList does not contain {tempdata} then add tempdata to group theGroupEmail
end repeat
save application "Address Book"
and the scripts slows down when the items in the list is quite large (over 800 or so )..
Any help is appreciated and thanks in advance..
-- the code ---
global MsgTitle
on run
set MsgTitle to "Search for Duplicates in Address Book Contacts"
display dialog ¬
"This Script takes a while to finish" & return & "maybe 10 min or More..." & return & "Depending on the Address Book Contacts." & return & return & "Hence Allow it to run for the while" with title MsgTitle ¬
with icon 1 ¬
buttons {"Continue"} ¬
giving up after 5
set question to display dialog "Select the Duplicate Search Parameter " with icon 1 with title MsgTitle ¬
buttons {"Contact Name", "Contacts on Phone & Email Id's", "Quit"} default button 3
set rtnValue to button returned of question
if rtnValue is "Quit" then
-- tell application "Address Book" to quit
tell me to quit
end if
if rtnValue is "Contact Name" then
-- tell application "Address Book" to quit
GetDup_byName("Duplicate Name")
end if
if rtnValue is "Contacts on Phone & Email Id's" then --Contacts on Phone & Email Id's
-- tell application "Address Book" to quit
Get_dup()
end if
end run
--- Search on Name Field ---
on GetDup_byName(theGroupName)
set question to display dialog "Do you want to search for duplicates based on Names? " with icon 0 with title MsgTitle ¬
buttons {"Continue", "Quit"} default button 1
set rtnValue to button returned of question
if rtnValue is "Quit" then
-- tell application "Address Book" to quit
tell me to quit
end if
tell application "Address Book"
activate
set biglist to {}
set NoNameList to {}
set theGroupNoName to "Duplicates No Names"
set theGroup to theGroupName
-- if not (exists (group "Dupilicate Entries")) then
if not (exists (group theGroup)) then
make new group with properties {name:theGroup}
save
end if
if not (exists (group theGroupNoName)) then
make new group with properties {name:theGroupNoName}
save
end if
set the_names to name of people
repeat with i from 1 to number of items in the_names
set theName to item i of the_names
-- return theName
if theName is not in biglist then
copy theName to end of biglist
else
set counter to (people whose name is theName)
if (count of counter) > 1 then
repeat with i from 1 to number of items in counter
set this_item to item i of counter
-- display dialog this_item
add this_item to group theGroup
end repeat
-- return counter as string
end if
end if
-- captures the Contacts without Name ---
if theName contains "@" then
-- display dialog theName
set counterList to (people whose name is theName)
repeat with i from 1 to number of items in counterList
set this_item to item i of counterList
-- display dialog this_item
add this_item to group theGroupNoName
end repeat
end if
-- save application "Address Book"
end repeat
save application "Address Book"
set peopleCount to (count every person)
-- set peopleCount to 50 -- only for testing --
repeat with i from 1 to peopleCount
set first_name to first name of person i as string
set Last_Name to last name of person i as string
if first_name is equal to "missing value" and Last_Name is equal to "missing value" then
-- display dialog first_name & " : " & Last_Name
set end of NoNameList to (id of person i)
end if
end repeat
repeat with j from 1 to the count of NoNameList
set tempdata to item j of NoNameList
-- set testdata to person id tempdata
-- if (name of groups of testdata does not contain theGroupNoEmail) then
add tempdata to group theGroupNoName
-- end if
end repeat
save application "Address Book"*)
display dialog ¬
"This Script Finished Processing Address Book Contacts the Duplicates are in the group" with title MsgTitle ¬
with icon 1 ¬
buttons {"Continue"} ¬
giving up after 5
end tell
end GetDup_byName
on Get_dup()
set question to display dialog "Do you want to search for duplicates based on Names? " with icon 0 with title MsgTitle ¬
buttons {"Continue", "Quit"} default button 1
set rtnValue to button returned of question
if rtnValue is "Quit" then
-- tell application "Address Book" to quit
tell me to quit
end if
tell application "Address Book"
activate
set theGroupEmail to "Duplicate Email Id's"
set theGroupPhone to "Duplicate Phone"
set theGroupNoEmail to "Only Phone Numbers"
set thegroupNoPhone to "Only Email Id's"
set theGroupNoData to "No Email or Phone"
-- set theGroup to theGroupName
if not (exists (group theGroupEmail)) then
make new group with properties {name:theGroupEmail}
save "Address Book"
end if
if not (exists (group theGroupPhone)) then
make new group with properties {name:theGroupPhone}
save "Address Book"
end if
if not (exists (group theGroupNoEmail)) then
make new group with properties {name:theGroupNoEmail}
save "Address Book"
end if
if not (exists (group thegroupNoPhone)) then
make new group with properties {name:thegroupNoPhone}
save "Address Book"
end if
if not (exists (group theGroupNoData)) then
make new group with properties {name:theGroupNoData}
save "Address Book"
end if
set ListofPeople to people --the_ID
set ListofEmailID to value of emails of people --the_emails
-- return ListofEmailID
set ListofPhones to value of phone of people -- the_phones
-- return ListofPhones
set biglist to {}
set ListEmail_Uniq to {}
set ListEmail_Dup to {}
set No_PhoneList to {}
set No_EmailList to {}
set No_dataList to {}
set FlagEmail to false
set FlagPhone to false
-- repeat with i from 1 to number of items in the_emails
repeat with i from 1 to count of ListofEmailID
set thePersonID to item i of ListofPeople
set theEmails to item i of ListofEmailID
if theEmails is equal to {} then
set end of No_EmailList to thePersonID
else
-- set FlagEmail to true
repeat with j from 1 to count of theEmails
set tmpdata to item j of theEmails
-- return tmpdata
if tmpdata is not in biglist then
set end of biglist to tmpdata
set end of ListEmail_Uniq to {tmpdata} & {thePersonID}
else
set end of ListEmail_Dup to {tmpdata} & {thePersonID}
end if
end repeat
end if
end repeat
-- return ListEmail_Uniq
-- return ListEmail_Dup
-- save application "Address Book"
set biglist to {}
set ListPhone_Uniq to {}
set ListPhone_Dup to {}
-- repeat with i from 1 to number of items in the_emails
repeat with i from 1 to count of ListofPhones
set thePersonID to item i of ListofPeople
set thePhones to item i of ListofPhones
if thePhones is equal to {} then
set end of No_PhoneList to thePersonID
else
-- set FlagPhone to true
repeat with j from 1 to count of thePhones
set tmpdata to item j of thePhones
-- return tmpdata
if tmpdata is not in biglist then
set end of biglist to tmpdata
set end of ListPhone_Uniq to {tmpdata} & {thePersonID}
else
set end of ListPhone_Dup to {tmpdata} & {thePersonID}
end if
end repeat
end if
end repeat
-- return ListPhone_Uniq
-- return ListPhone_Dup
set the Dup_email to {}
-- Find the Duplicates from the sorted list --
repeat with i from 1 to the count of ListEmail_Dup
set tempdata to item i of ListEmail_Dup
set dataEmailDup to item 1 of tempdata
set dataPersonDup to item 2 of tempdata
repeat with j from 1 to the count of ListEmail_Uniq
set tempdata to item j of ListEmail_Uniq
set dataEmailUniq to item 1 of tempdata
set dataPersonUniq to item 2 of tempdata
-- display dialog mainEmail1 & "=" & mainEmail2 & " " & mainID1 & "=" & mainID2
if dataEmailDup is equal to dataEmailUniq then
set end of Dup_email to dataPersonDup -- & "," & dataPersonUniq
set end of Dup_email to dataPersonUniq
end if
(* -- the code takes lot more time if add to group was used --
if dataEmailDup is equal to dataEmailUniq then
set testdata to person id dataPersonDup
add testdata to group theGroup
set testdata to person id dataPersonUniq
add testdata to group theGroup
end if
end repeat
end repeat
-- return Dup_email
set the Dup_Phone to {}
-- Find the Duplicates from the sorted list --
repeat with i from 1 to the count of ListPhone_Dup
set tempdata to item i of ListPhone_Dup
set dataPhoneDup to item 1 of tempdata
set dataPersonDup to item 2 of tempdata
repeat with j from 1 to the count of ListPhone_Uniq
set tempdata to item j of ListPhone_Uniq
set dataPhoneUniq to item 1 of tempdata
set dataPersonUniq to item 2 of tempdata
-- display dialog mainEmail1 & "=" & mainEmail2 & " " & mainID1 & "=" & mainID2
if dataPhoneDup is equal to dataPhoneUniq then
set end of Dup_Phone to dataPersonDup -- & "," & dataPersonUniq
set end of Dup_Phone to dataPersonUniq
end if
(*if dataPhoneDup is equal to dataPhoneUniq then
set testdata to person id dataPersonDup
add testdata to group theGroup
set testdata to person id dataPersonUniq
add testdata to group theGroup
-- save
end if*)
end repeat
end repeat
-- return Dup_Phone
set onlyDupEList to every person of group theGroupEmail
repeat with j from 1 to count of Dup_email
set tempdata to item j of Dup_email
if onlyDupEList does not contain {tempdata} then add tempdata to group theGroupEmail
end repeat
save application "Address Book"
set onlyDupPList to every person of group theGroupPhone
repeat with j from 1 to count of Dup_Phone
set tempdata to item j of Dup_Phone
if onlyDupPList does not contain {tempdata} then add tempdata to group theGroupPhone
end repeat
save application "Address Book"
set onlyPhoneList to every person of group theGroupNoEmail
repeat with j from 1 to the count of No_EmailList
set tempdata1 to item j of No_EmailList
if No_PhoneList does not contain {tempdata1} then
if onlyPhoneList does not contain {tempdata1} then add tempdata1 to group theGroupNoEmail
end if
(*set flagE to false
repeat with i from 1 to the count of No_PhoneList
set tempdata2 to item i of No_PhoneList
if tempdata1 is equal to tempdata2 then
set flagE to true
exit repeat
end if
end repeat
if flagE is false then add tempdata1 to group theGroupNoEmail*)
end repeat
save application "Address Book"
set onlyEmailList to every person of group thegroupNoPhone
repeat with j from 1 to the count of No_PhoneList
set tempdata1 to item j of No_PhoneList
if No_EmailList does not contain {tempdata1} then
if onlyEmailList does not contain {tempdata1} then add tempdata1 to group thegroupNoPhone
end if
end repeat
save application "Address Book"
set onlyList to every person of group theGroupNoData
repeat with i from 1 to count of ListofPeople
if (item i of ListofEmailID is equal to {}) and (item i of ListofPhones is equal to {}) then
set tempdata to item i of ListofPeople
if onlyList does not contain {tempdata} then add tempdata to group theGroupNoData
end if
end repeat
save application "Address Book"
display dialog ¬
"This Script Finished Processing Address Book Contacts the Duplicates are in the group" with title MsgTitle ¬
with icon 1 ¬
buttons {"Continue"} ¬
giving up after 5
end tell
end Get_dup
on quit
--set MsgTitle to "Change Email ID's Domain Name"
save application "Address Book"
display dialog "Contact Srikanth Kamath at [email protected] for any Help" with title MsgTitle with icon 1 buttons "OK"
continue quit
end quitHello Srikanth Kamath,
I'm not sure you're still following this thread, but anyway here's sample code I said I'd post later.
--SCRIPT2
main()
on main()
script o
-- input data
property xx : {1, 2, 3, 4, 5} -- list of parents
property yy : {{"g", "h"}, {"a", "b"}, {"b", "e", "f"}, {"e"}, {"c", "d"}} -- list of children per parent
-- work list
property pp : {} -- list of children tagged by parent; i.e, lits of {child, parent}
property qq : {}
property rr : {}
-- (1) build list of children tagged by parent
repeat with i from 1 to count my xx
set x to my xx's item i
set y to my yy's item i
repeat with p in y
set end of my pp to {p's contents, x}
end repeat
end repeat
--return pp -- {{"g", 1}, {"h", 1}, {"a", 2}, {"b", 2}, {"b", 3}, {"e", 3}, {"f", 3}, {"e", 4}, {"c", 5}, {"d", 5}}
-- (2) sort tagged list by child as key
msort(my by_key1, my pp)
--return pp -- {{"a", 2}, {"b", 2}, {"b", 3}, {"c", 5}, {"d", 5}, {"e", 3}, {"e", 4}, {"f", 3}, {"g", 1}, {"h", 1}}
-- (3) retrieve parents with duplicate child
(* retrieve list of {child, parent} for duplicate child *)
set my qq to uniq(my eq_key1, my pp, {_dup:true})
--return qq -- {{"b", 2}, {"b", 3}, {"e", 3}, {"e", 4}}
(* retrieve list of parent *)
repeat with q in my qq
set r to q's item 2
if r is not in my rr then set end of my rr to r
end repeat
return rr -- {2, 3, 4}
end script
tell o to run
end main
on by_key1(x, y)
msort's comparator for list of lists
key = item 1, ascending
returns true iff x and y are out of order
return x's item 1 > y's item 1
end by_key1
on eq_key1(x, y)
uniq's comparator for list of lists
key = item 1
returns true iff x and y are considered equal
return x's item 1 = y's item 1
end eq_key1
on msort(cmp_, aa) -- v1.2f2
Basic recursive merge sort handler having list sorted in place.
handler cmp_ : comparator
* cmp_(x, y) must return true iff list element x and y are out of order.
list aa : list to be sorted in place
script o
property parent : {} -- limit closure to minimum
property xx : aa -- to be sorted in place
property xxl : count my xx
property yy : {}
property cmp : cmp_
on merge(p, q, r)
property xx: source list
integer p, q, r : absolute indices to specify range to be merged such that
xx's items p thru r is the target range,
xx's items p thru (q-1) is the first sublist,
xx's items q thru r is the second sublist.
(p < q <= r)
local i, j, k, xp, xr, yi, yj, ix, jx
if r - p = 1 then
set xp to my xx's item p
set xr to my xx's item r
if my cmp(xp, xr) then
set my xx's item p to xr
set my xx's item r to xp
end if
return -- exit
else
if p < q - 1 then merge(p, (p + q) div 2, q - 1)
merge(q, (q + r + 1) div 2, r)
end if
At this point, sublits xx[p, q-1] and xx[q, r] have been already sorted (p < q <= r)
if my cmp(my xx's item (q - 1), my xx's item q) then
else -- xx[p, q-1] & xx[q, r] are already sorted
return
end if
set yy to my xx's items p thru r -- working copy for comparison
set ix to q - p
set jx to r - p + 1
set i to 1
set j to q - p + 1
set k to p
set yi to my yy's item i
set yj to my yy's item j
repeat
if my cmp(yi, yj) then
set my xx's item k to yj
set j to j + 1
set k to k + 1
if j > jx then
set my xx's item k to yi
set i to i + 1
set k to k + 1
repeat until k > r
set my xx's item k to my yy's item i
set i to i + 1
set k to k + 1
end repeat
return
end if
set yj to my yy's item j
else
set my xx's item k to yi
set i to i + 1
set k to k + 1
if i > ix then
set my xx's item k to yj
set j to j + 1
set k to k + 1
repeat until k > r
set my xx's item k to my yy's item j
set j to j + 1
set k to k + 1
end repeat
return
end if
set yi to my yy's item i
end if
end repeat
end merge
on cmp(x, y)
(* primary comparator *)
return x > y
end cmp
local d, i, j
if xxl ≤ 1 then return
if cmp_ = {} then set my cmp to cmp -- comparator fallback
my merge(1, (xxl + 1) div 2, xxl)
end script
tell o to run
end msort
on uniq(eq_, aa, {dup:dup}) -- v0.21
handler eq_ : comparator eq_(x, y) that returns true iff x and y are considered equal
list aa : pre-sorted list
(precisely, a list organized such that any duplicate items are adjacent to each other)
boolean _dup : option whether return unique items or duplicate items
return duplicate if true, unique otherwise.
script o
property parent : {} -- limit closure to minimum
property xx : aa
property yy : {}
property eq : eq_
on eq(x, y)
(* primitive comparator *)
x = y
end eq
if eq_ = {} then set my eq to my eq -- comparator fallback
local t, x, _on
if (count my xx) < 2 then return my xx's contents
if _dup then
set _on to false
set t to my xx's item 1
repeat with i from 2 to count my xx
set x to my xx's item i
if eq(x, t) then
set end of my yy to t
set _on to true
else if _on then
set end of my yy to t
set _on to false
end if
set t to x
end repeat
if _on then set end of my yy to x
return my yy's contents -- return duplicate elements
else
set t to my xx's item 1
set end of my yy to t
repeat with i from 2 to count my xx
set x to my xx's item i
if eq(x, t) then
else
set end of my yy to x
set t to x
end if
end repeat
return my yy's contents -- return uinque elements
end if
end script
tell o to run
end uniq
--END OF SCRIPT2
In order to apply it to your current Address Book problem, replace the main() handler with something like the following one.
--SCRIPT2a (part)
on main()
script o
-- input data
property xx : {} -- list of parent; given later
property yy : {} -- list of children per parent; given later
-- work list
property pp : {} -- list of children tagged by parent; i.e, lits of {child, parent}
property qq : {}
property rr : {}
-- (0) get input data from AB
tell application "Address Book"
tell people
set xx to its id
set yy to its every email's value
end tell
end tell
-- (1) build list of children tagged by parent *)
(* omitted (same as the previous) *)
-- (2) sort tagged list by child as key
(* omitted (same as the previous) *)
-- (3) retrieve parents with duplicate child
(* omitted (same as the previous) *)
-- (4) group the retrieved people in AB
tell application "Address Book"
repeat with r in my rr
add person id r to group "duplicate email"
end repeat
end tell
end script
tell o to run
end main
--END OF SCRIPT2a
Good luck,
Hiroto
Message was edited by: Hiroto -
To get GAL of non default address book from multiple accounts in outlook
I have two domain accounts configured in my outlook, for example [email protected] and [email protected]
There are 2 address books (Please refer to the picture attached). I want to show user to SelectNameDialog by adding the recipients from non-default account's address book. But it adds the names to the selectnamedialog from the default address book and displays.
C# code : Outlook.SelectNamesDialog snd = app.Session.GetSelectNamesDialog();
How to get non-default account’s address book programmatically.
ThankYou for your suggestion.
Note: I am not able to attach the imageHello,
> Note: I am not able to attach the image
It seems you need to verify your account. See How
to Verify Your MSDN/TechNet Forums Account So that You Can Post Images and Links.
> How
to get non-default account’s address book programmatically.
void DisplayGlobalAddressListForStore()
Outlook.Folder currentFolder =
Application.ActiveExplorer().CurrentFolder
as Outlook.Folder;
Outlook.Store currentStore = currentFolder.Store;
if (currentStore.ExchangeStoreType !=
Outlook.OlExchangeStoreType.olNotExchange)
Outlook.SelectNamesDialog snd =
Application.Session.GetSelectNamesDialog();
Outlook.AddressList addrList =
GetGlobalAddressList(currentStore);
if (addrList != null)
snd.InitialAddressList = addrList;
snd.Display();
public Outlook.AddressList GetGlobalAddressList(Outlook.Store store)
string PR_EMSMDB_SECTION_UID =
@"http://schemas.microsoft.com/mapi/proptag/0x3D150102";
if (store == null)
throw new ArgumentNullException();
Outlook.PropertyAccessor oPAStore = store.PropertyAccessor;
string storeUID = oPAStore.BinaryToString(
oPAStore.GetProperty(PR_EMSMDB_SECTION_UID));
foreach (Outlook.AddressList addrList
in Application.Session.AddressLists)
Outlook.PropertyAccessor oPAAddrList =
addrList.PropertyAccessor;
string addrListUID = oPAAddrList.BinaryToString(
oPAAddrList.GetProperty(PR_EMSMDB_SECTION_UID));
// Return addrList if match on storeUID
// and type is olExchangeGlobalAddressList.
if (addrListUID == storeUID && addrList.AddressListType ==
Outlook.OlAddressListType.olExchangeGlobalAddressList)
return addrList;
return null;
Setting the InitialAddressList property is the programmatic equivalent to selecting an AddressList from the drop-down list for Address Book in
the Select Names dialog box.
In its default state, InitialAddressList is the AddressList that has the property AddressList.IsInitialAddressList set
to True. IsInitialAddressList corresponds to setting Show this address list first in the Addressing dialog
box, which is available by clicking Tools, and then Options in the Address
Book dialog box.
See How to: Get the Global Address List or a Set of Address Lists for a Store for more information. -
Address book entries don't sync to iPhone
There appears to be a category of entries in my Address Book that don't sync to my iPhone 4S. Instead of having the word "Work" or "Home" in front of the email address, it contains "email 1", "email 2", etc. Editing the item doesn't reveal "Work" or "Home". Any ideas on how to fix this?
Those contacts probably live in a Microsoft Exchange address book.
Click on the red "book mark" in Address Book to display the lists of contacts in the left-hand page, and see if you have an Exchange server configured (it would show up under an "On My Mac" section, with a name configured in Address Book preferences).
You can either configure your iPhone to communicate with the Exchange server, or drag those contacts into the "All on My Mac" category (or another contact group on your Mac).
Hope this helps! -
How do I get the groups in my address book to my contact lists in Mail
The groups in my address book are displayed in my contacts list in Mail
Hi. I honestly am not sure how I transferred it (I am dealing with several issues in getting the new iMac set up right now) . . . I think I exported from one and imported to the other. Maybe that is why the notes did not come over even though the contacts did. But I tried your method and it seemed to work so thatnk you very much!
-
Bind Local Address Book to Server?
A priority for our firm, and a main reason we are setting ups an SLS, is to be able to use Group Address Books to share contacts across the Groups we would like to set up. The documentation says this is possible, but as I see in other posts, this doesn't actually appear to have been implemented yet. Has anyone noticed Page 11 of the Address Book Server Administration Manual, posted at Apple's SLS documentation page:
"To use Address Book Server on a client, you need to bind the client to Address Book Server. Before binding a client computer, make sure Address Book Server is running (see “Starting or Stopping Address Book Server” on page 15).
To bind Address Book on a client to Address Book Server:
1 Open Address Book on the client computer.
The only versions of the Address Book application that support using Address Book
Server are those in Mac OS X version 10.6. Earlier versions of Address Book don’t
support binding to Address Book Server.
2 Choose Address Book > Preferences, and then click Accounts.
3 Click the Add button.
4 In the Add Account dialog, select Mac OS X Server as the Account Type.
5 Enter the user’s name and password. Enter the URL of the Address Book Server.
6 Click Create.
An account is now added to the account list. The Address Book application now shows a new group with the user’s name and your server designated. Any groups in the shared address book are displayed below this via a disclosure triangle."
All of this sounds great: once "bound" to the server, manual appears to be saying that the local Address Book app will show the user's address book as well as any Group the user is a part of. Perfect. Only problem is that when I go to create an Address Book account with the type "Mac OS X Server", there is no such option under the pull down account type menu.
I have all the latest versions of everything on the server as well as client computers, and this option simply isn't there. Address Book Server is running, and there are no configuration choices that would appear to "turn on" this option or otherwise make it available to the client computers. Anybody have an explanation? Has Apple just not implemented this yet? If not, why Apple would put this in their current documentation? Am I missing a configuration setting of some type?Hi
Unfortunately for you the admin manuals are not that clear - what a surprise. It's not really your fault but you're taking the instructions too literally. By "Address Book Server" the manual means the Server the Address Book Service is running on. This would be whichever server is the Open Directory Master.
Preceeding the part you quoted is:
+"Address Book Server is integrated with Mac OS X Server’s foundation technologies. Address Book users are authenticated from Open Directory and Kerberos."+
This certainly implies an OD Master environment.
In a multiple server environment (Master/Replica or Connected Server) it's not clear if the Service can only be used/accessed on the OD Master.
To 'bind/join' clients to an OD Master (and in essence the Address Book Server) you use Directory Utility. In 10.6 client this is accessed via the Accounts tab. In 10.5 the application exists as standalone in the Utilities folder. In 10.4 the application is in the same place but is known as Directory Access. As far as the manual says only Address Book in 10.6 seems to be supported?
For LDAP Services to work as they should DNS Services must be configured correctly and resolving on both pointers. For the best experience clients must be using the Server for their DNS (assuming the Server is the only Server on the network) or a suitable DNS Server that can resolve the Server properly.
I personally don't think there is a Group Address Book feature available. If the iCal service is anything to go by you're really talking about individual address books which have then been delegated read/write access to other users in the LDAP node. If you consider carefully what it is you want there is no reason why you can't offer a 'group-type' address book with what's available?
Tony -
Contacing my address book that I have a new email address, my mac address
Can someone help? I just discontinued my comcast service and will use my mac.com as my main email address. Is there a way I can contact my address book globally?
Thanks,
RonStart a new message. Select all the contacts and drag them to the BCC field of the new message. Put your email address in the To field. Add a subject and some text and click Send.
If you have more than 200 contacts it would be better to send them in groups of less than 200, and not do more than one group a day.
AK
Maybe you are looking for
-
Media Center Deluxe III no fullscreen
The software refuses to go fullscreen when in the screens: Video Clips or Recorded TV (which are basicaly the same) The little fullscreen button is disabled (for both mouse or remote) The home and back button (top left) are also disabled and I'm lock
-
I went to update the iOS on my iPad mini last week. It said I didn't have enough room for it because it needs 3.1G for the iOS. I didn't quite get that because the iPad is new and most of my content is in the cloud or on my iphone. So I delete ALL
-
I am currently running Mac OS X 10.6.8 and I just recently installed iPhoto 9.2.2 from the Mac App Store. After installing this it refuses to open. It says "Check with the developer to make sure iPhoto works with this version of Mac OS X. You may nee
-
Hi friends, Can any one tell me the SD and MM Flow with respect to company and customer like what the company and customer will do in various stages?
-
How do I retrieve photos from adobe storage to my new hard drive?
My hard drive crashed and I lost all my data and pics. The pics are stored in a 20gig file on the adobe cloud. The software does not show me how to bring those pics back to my new hard drive. Anyone got a solution?