Skip to content

Instantly share code, notes, and snippets.

View clroot's full-sized avatar

clroot clroot

  • Seoul
View GitHub Profile
@kd0g
kd0g / phone_replace.scpt
Created March 3, 2018 12:10
MAC에서 전화번호 바꾸기 스크립트
tell application "Contacts"
-- repeat with aPerson in people of group "Test Group"
repeat with aPerson in people
set thePhones to phones of aPerson
if thePhones is not {} then
set errorList to {}
repeat with aPhoneNumber in thePhones
set theNumber to value of aPhoneNumber
try
set value of aPhoneNumber to my getNewNumber(theNumber)