• 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
Apple Mail on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple Mail on Leopard


  • Subject: Apple Mail on Leopard
  • From: Bob Cuilla <email@hidden>
  • Date: Wed, 2 Jan 2008 14:37:19 -0500

I have attached a portion of a script that works just fine in Tiger, but in Leopard crashes about 9 out of 10 times.

The area the presents the error is ijnside the repeat block and is marked with asterisks on both ends.

Does anyone see what I am doing wrong?

Thanks in Advance


Bob Cuilla
Orlando, FL






tell application "Address Book"
set theGroupList to the name of the group of every person whose ((note contains "TEC TALENT") and (note contains "ID 23211"))
delete (first person whose ((note contains "TEC TALENT") and (note contains "ID 23211")))
set NewPerson to make new person
set first name of NewPerson to "Tim"
set last name of NewPerson to "eder"
set organization of NewPerson to "Sound & Light Production"




set note4 to ""
set note1 to "This entry from TEC TALENT database:ID 23211"
set note2 to "Created " & creation date of NewPerson
set note3 to "TEC Sound Production"
set note of NewPerson to note1 & note2 & return & note3 & return


if theGroupList = {} then
add NewPerson to group "TEC Talents"


else
repeat until theGroupList is {}
******add NewPerson to group (the first item of theGroupList)*******
set theGroupList to rest of theGroupList
end repeat


end if
save addressbook
end tell

 _______________________________________________
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

  • Prev by Date: Macworld SF Netter's Dinner
  • Next by Date: Re: Newbie help needed: capturing keypress to record QuickTime timing
  • Previous by thread: Macworld SF Netter's Dinner
  • Next by thread: Exporting photos via keyword in Applescript
  • Index(es):
    • Date
    • Thread