运行 AppleScript 应用程序中的 AppleScript 脚本

Running an AppleScript script from within an AppleScript app

我正在将此代码实现到我前几天制作的 AppleScript 应用程序中,但它似乎不起作用。我正在尝试 运行 另一个 AppleScript 脚本。

set filescript to (path to resource "file creator.scpt" in directory "Scripts")
run script (path of filescript)

错误说它无法获得别名的 class PPTH。

这是我目前的做法:

run script alias (((path to home folder) as string) & "projects:Another Script.applescript")

所以在这个例子中,我想要 运行 的另一个脚本在 ~/projects/Another Script.applescript 中。我用它来 运行 另存为文本或应用程序的脚本中的另一个 applescript。