• 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
The Ones & Oh's of Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The Ones & Oh's of Logic


  • Subject: The Ones & Oh's of Logic
  • From: David Groover <email@hidden>
  • Date: Fri, 15 Mar 2002 08:00:49 -0500

It would be useful for my understanding of scripting if someone would be
kind enough to clarify something for me. In the following example, why am
I using the zero in "address 0"? Is it a statement of logic that doesn't
literally mean that there is only one field in Palm named zero, and the
other fields are named 1,2,3 .... 23, etc?

Or does calling it address zero, refer to the address of the field that
you are in when you launch the script? In Palms case the scriptable
button refers directly to a specific field. Does zero in this case always
mean the field which the script is pointing to? If not then how can I
tell which fields in Palm are numbered, and by what numbers?

tell application "Palm Desktop"
set strFullname to full name of address 0
set strEmail to text of address 0
end tell

Thanks

Dave Groover

PS - the second part (isn't working right)
--------
tell application "Claris Emailer"
activate
create mail subject "" recipients {name_old:strFullname,
address_old:strEmail, type_old:0}

end tell
-------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: The Ones & Oh's of Logic
      • From: Chris Page <email@hidden>
    • Re: The Ones & Oh's of Logic
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: AS: Compiled or interpreted?
  • Next by Date: Re: Crunch numbers
  • Previous by thread: Scripting a command to unix with sudo fun
  • Next by thread: Re: The Ones & Oh's of Logic
  • Index(es):
    • Date
    • Thread