How do I find a script within a stack

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
jalz
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 340
Joined: Fri Sep 12, 2008 11:04 pm

How do I find a script within a stack

Post by jalz » Mon Feb 06, 2012 10:42 pm

Hi Guys,

Ive been disecting one of the examples, and learning how theyve put together an app. One of the scripts Im looking at seems to be calling another command/script within the system. However I cant seem to locate the script it is calling. Is there an easyway I can open up the application and search for a particular script through a stack or cards.

Ive tried the application browser, and gone trough cards that belong to the stack but cant find that script for love nor money - any advice would be much appreciated.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: How do I find a script within a stack

Post by mwieder » Mon Feb 06, 2012 11:19 pm

In the script editor type command-F to bring up the search feature.
Now click the "More..." button that appears near the bottom of the code window.
Change the "Look in:" option to search in the Stack or the Stack File.
Type something you're looking for into the "Find what" field and click the Find all button.

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

Re: How do I find a script within a stack

Post by dunbarx » Tue Feb 07, 2012 12:48 am

What mark said. Note that you can also do this in the stack itself. Under the "edit" menu, see "find and replace"

Similar, but a nicer interface.

Craig Newman

jalz
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 340
Joined: Fri Sep 12, 2008 11:04 pm

Re: How do I find a script within a stack

Post by jalz » Tue Feb 07, 2012 10:41 am

Thanks very much for the prompt response guys :)

Post Reply