tell inside a tell
tell inside a tell
- Subject: tell inside a tell
- From: Darwin Zins <email@hidden>
- Date: Wed, 12 Mar 2003 08:41:44 -0600
Is a tell inside a tell a bad thing? Is tell a bad thing is some
cases? I seem to get some strange errors, like I have:
tell application "Address Book"
repeat with aCard in every person
repeat with anItem in XML contents of theXML
if XML tag of anItem is equal to "Contacts" then
set found_in_z to false
repeat with zCard in XML contents of anItem
tell zCard
display dialog "test"
I get an error that displays the data of zCard and says it doesn't
understand the display dialog message. Maybe it is just my
misunderstanding, do I need to tell the address book to display the
dialog or how can I just have my running script always be the thing
that the dialog is displayed by, so that the address book doesn't come
to the top.
Thanks,
Darwin
_______________________________________________
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.