• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A weird problem scripting Contacts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A weird problem scripting Contacts


  • Subject: Re: A weird problem scripting Contacts
  • From: Yvan KOENIG <email@hidden>
  • Date: Thu, 20 Jul 2017 12:27:42 +0200

> Le 20 juil. 2017 à 00:19, Deivy Petrescu <email@hidden> a écrit :
>
> It is happening in 10.12.6
> if I write the following  script:
>
> Tell app “Contacts” to return every person
>
> person gets compiled as a variable.
> If I change the script to
>
> Tell app  “Address Book”  to return every person
>
> it compiles to the first script and gets person correctly.
> Can anyone reproduce this?
>

I an't reproduce it but may I ask : was Contacts open when you tested you
script ?
Here, with the system used in French the instruction doesn't compile as long as
the app is not open.

This is not a new feature. It strikes for years.

Here, tell app doesn't compile. I must use tell application.
If I code :
tell application "Address Book" to return every person
it compiles as :

tell application "Contacts" to return every person


Yvan KOENIG running Sierra 10.12.6 in French (VALLAURIS, France) jeudi 20
juillet 2017 12:23:16


 _______________________________________________
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

  • Follow-Ups:
    • Re: A weird problem scripting Contacts
      • From: Deivy Petrescu <email@hidden>
References: 
 >A weird problem scripting Contacts (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: A weird problem scripting Contacts
  • Next by Date: Re: A weird problem scripting Contacts
  • Previous by thread: A weird problem scripting Contacts
  • Next by thread: Re: A weird problem scripting Contacts
  • Index(es):
    • Date
    • Thread