The Ones & Oh's of Logic
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.