• 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: Address Book Scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Address Book Scripts


  • Subject: Re: Address Book Scripts
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 15 Mar 2005 17:08:40 -0700

On Mar 15, 2005, at 4:54 PM, Will Gosney wrote:

When I run it in script editor, it says the variable "if" is not defined.

That's because you omitted this line:

set lf to (ASCII character 10 as Unicode text)

It should be the first line of the script.

I also had to modify Paul's script to get it to work right; if the note is empty, the result is missing value rather than ""

set to ((ASCII character ) as Unicode text)
tell application "Address Book"
set to the selection
set to short date string of (current date) & ", " & time string of (current date)
repeat with in
if note of is not missing value then set to ( & & & note of )
set note of to
end repeat
end tell

--
Peter pull at St. Taffy's tonight! (Or is it the other way around?)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Address Book Scripts
      • From: Will Gosney <email@hidden>
References: 
 >Re: Address Book Scripts (From: Paul Berkowitz <email@hidden>)
 >Re: Address Book Scripts (From: Will Gosney <email@hidden>)

  • Prev by Date: Re: list to a text representation of that list
  • Next by Date: Re: default language - do shell script - 10.2.8 problem
  • Previous by thread: Re: Address Book Scripts
  • Next by thread: Re: Address Book Scripts
  • Index(es):
    • Date
    • Thread