Ho bisogno di estrarre il numero di telefono di tutti i contatti in un particolare gruppo e per quello sto usando il seguente codice -
on run {input, parameters}  
    tell application "Contacts"
        set thePeople to every person
        repeat with i from 1 to number of items in thePeople
            set this_person to item i of thePeople
            set inGroup to name of group of this_person
            if inGroup is "Technology" then
                set x to properties of phones of this_person
            end if
        end repeat
    end tell
end run
Ma ogni volta che eseguo il codice, l'editor di script si blocca e mi chiede di riaprirlo anche se ho un solo contatto in quel gruppo. Cosa sta succedendo qui?