
Is there any kind of dependency walker?
Moderators: Víctor Paredes, Belgarath, slowtiger
- strider2000
- Posts: 506
- Joined: Sat Mar 07, 2015 5:14 pm
- Contact:
Is there any kind of dependency walker?
As I think about sharing scripts, I want to make sure I don't forget that script A is dependent on file B. Is there any kind of dependency walker? How do people test out their scripts to make sure they've include all appropriate dependencies? After all, they're all there on my machine 

- synthsin75
- Posts: 10280
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Is there any kind of dependency walker?
If nothing else, you can temporarily remove all but one of your custom scripts, try to use it, and Moho will tell you when it can't find something the script expects to find.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- strider2000
- Posts: 506
- Joined: Sat Mar 07, 2015 5:14 pm
- Contact:
Re: Is there any kind of dependency walker?
True, the manual approach does work 

- synthsin75
- Posts: 10280
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Is there any kind of dependency walker?
You could also write a script to parse the selected script's text and print out every unique global variable of the form **_*****.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/