Re: Scripting a Find in Contacts
Re: Scripting a Find in Contacts
- Subject: Re: Scripting a Find in Contacts
- From: Bob Stern via AppleScript-Users <email@hidden>
- Date: Tue, 14 Apr 2020 04:06:39 -0700
This seems to work in Mojave:
tell application "Contacts"
set thePerson to the first person whose last name is “Smith"
set aGroup to item 1 of groups of thePerson
set selected of aGroup to true
set the selection to thePerson
end tell
—Bob Stern
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden