Most all my longer more complicated scripts use handlers (what I used to call subroutines back in the day). I use the same subroutine over and over in multiple scripts. Generally when working on a new script I will find a way to improve the subroutine in some way. The problem is all my older scripts are still using the older unimproved subroutine.
I was wondering is there is a way in AppleScript for it to an call outside subroutine? This way I can update the main subroutine file and not have to update each script that has that subroutine in it.
you’re probably correct on basic strategy, that is why I posted my question. I have always kept my scripts as whole scripts and have always been frustrated when something breaks and I have to figure out which scripts use that same handler.