So I'm working on a project where I need multiple functions from the text library from the AppleScript stdlib. So I do something like this:
use script "text"
-- Do some stuff with text
do shell script "echo hello"
Compiling this, however, produces an error about how an end of line was expected.
Searching through the terminology for do, shell and script produces no result.
Is there either a way to stop using a script after some time without wrapping the entire thing inside a tell statement or to prevent this behavior altogether?