Editing a Contact List

I am trying to figure out how to search a contact list by name and then edit that name in the contact list using the replace item function. Has anyone been able to successfully do this?

welcome to the the forums @ksuttonlab.
I have tried it before but I did not secede.

Is this helpful Suggestions for the assoc block

if you could give me an example of what would be in the list, I could then figure out how to do it. It does sound really simple though.

You could use the
Untitled script pic

Take a look at this contact list. I'm trying to make it allow the user to edit the name. The name is item 1 of each of the sublists of the main global variable list: contact list

oops here's the link: Snap! 6.9.0 Build Your Own Blocks

Is this for an assignment or are you just doing it for fun?

Here's an easy way to do it. You should load the List Utilities library, then do this
U3L2-ContactList script pic
I suggest doing this instead of using "text contains"

Then just replace item one of results, when you do that, you also edit the actual contact. Here's the code for reference (I did fix a few things)

I have tested this out and it does work.

Thank you so much! This was very helpful.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.