Search/find X in all scripts of all objects in all stacks

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Search/find X in all scripts of all objects in all stacks

Post by erikhans08 » Wed Mar 25, 2015 7:05 pm

Search/find "set the script to" in all scripts of all objects in all stacks

I used to be able to do this but after a long hiatus I can't remember how. Of course, IF I could search for a string in all scripts of all objects in all stacks I could chase it down. It may have involved copying the script to... something then using offset() to... something then setting the script to the result or something.

Any handler or function name to get going with this?
Thanks,

Erik Hansen
Santa Cruz

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Search/find X in all scripts of all objects in all stack

Post by dunbarx » Wed Mar 25, 2015 7:17 pm

Hi.
I used to be able to do this but after a long hiatus I can't remember how.
Unless you are remembering the "ss" handler in the Home stack in HC, perhaps the "Find and Replace..." feature in the "Edit" menu would help? This is a very powerful tool.

Craig Newman

erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Re: Search/find X in all scripts of all objects in all stack

Post by erikhans08 » Wed Mar 25, 2015 10:22 pm

Thanks Craig, Find and Replace is the solution. Replace is optional.

Post Reply