• 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: Deivy Petrescu <email@hidden>
  • Date: Thu, 20 Jul 2017 16:35:40 -0400

> On Jul 20, 2017, at 15:38 , Nigel Garvey <email@hidden> wrote:
>
> Yvan KOENIG wrote on Thu, 20 Jul 2017 16:24:38 +0200:
>
>>> However, —tell application “Address Book” to return every person—
>>> compiles  to— tell application “Contacts” to return every person—,
>>> correctly, even if Contacts is not open.
>>> So, this is a bug with AppleScript (not SE because the same problem
>>> occurs with Smile)
>>
>> If I remember well, AddressBook was the old name of the application
> which
>> is now named Contacts.
>> Always if I remember well, Contacts is not the unique application
> behaving
>> this way but I am too lazy to search in my archives the list of apps
> doing
>> that.
>
> iCal and AppleScript Editor are two, apparently.
>
> NG

Nigel,
But “Calendar” and  Script Editor do not behave the same way.
You can tell Calendar to return every calendar  and it will compile properly
whether it is active or not.
Script Editor is a different beast, it used to be
Script Editor then AppleScript Editor and then Script Editor again.
I believe the last change because of Jax.


Deivy Petrescu
email@hidden



 _______________________________________________
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: Jim Underwood <email@hidden>
References: 
 >Re: A weird problem scripting Contacts (From: "Nigel Garvey" <email@hidden>)

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