Re: syntax used by Contacts
Re: syntax used by Contacts
- Subject: Re: syntax used by Contacts
- From: Christopher Stone <email@hidden>
- Date: Tue, 24 Dec 2013 17:05:07 -0600
On Dec 24, 2013, at 12:46, koenig.yvan <email@hidden> wrote:
As you are running Script Debugger, may you tell me which is the raw syntax for person ? «class wxyz»
______________________________________________________________________
Hey Yvan,
Here you go.
-- Best Regards, Chris
-------------------------------------------------------------------------------------------
set _firstName to "Christopher" set _lastName to "Stone"
tell «class capp» "Contacts" try set _person to (get first «class azf4» whose («property azf7» is _firstName) and («property azf8» is _lastName)) end try end tell
-------------------------------------------------------------------------------------------
|
_______________________________________________
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