second variable to call value from property list
second variable to call value from property list
- Subject: second variable to call value from property list
- From: Matthew Galaher <email@hidden>
- Date: Fri, 23 Jan 2004 16:52:09 -0800
I wish to call an email address associated with a client code (e.g.
abc), so that if I'm working with client abc it'll bring up the email
address for client manager email@hidden. I can't seems to use a
variable to to call the varible holding the email. Below is what I'm
shooting for. Any help would be greatly appreciated. Thanks
set clientName to "abc"
accountmanager_email(clientName)
on accountmanager_email(clientName)
set email_properties to {abc:"email@hidden", def:"email@hidden",
ghi:"email@hidden", jkl:"email@hidden"}
set am_email_address to property of email_properties whose name is
clientName
display dialog am_email_address
end accountmanager_email
_______________________________________________
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.