r/applescript • u/tarpus • Dec 09 '21
internal table overflow applescript
I keep getting this error, recently, when running apple script in terminal, "internal table overflow AppleScript"
Here is the code. Worked fine.
internal table overflow applescriptlaunch application "Address Book"
tell application "Address Book"
set myCard to make new person with properties {first name:"Homer", last name:"Simpson"}
tell myCard
make new address at end of addresses with properties {street:"", city:"", state:"", zip:"", country code:"", label:"home"}
make new phone at the end of phones with properties {value:+1914555555, label:"home"}
end tell
save addressbook
end tell
-- Also, but not needed - to open the card in Adddress Book
tell application "Address Book"
set myID to id of myCard
end tell
View all comments
Show parent comment
1
u/[deleted] Jan 16 '22
I filed a bug to Apple:
Hi.
After upgrading to MacOS 12.1 from 10.14, I am getting error in applescript when a script is asking Contacts.app to save.
In MacOS 12.1 the following line does not compile and returns error "Internal table overflow":
tell application "Contacts" to saveThe same line in 10.14 compiles fine.