Calling Subroutines in another script syntax issues

I am using Applescript Studio. Suppose I have a script called “misc.applescript”
Inside misc.applescript I have three routines Routine1, Routine2, Routine3.

From MyScript.applescript, I want to call these routines (they do something I use repeatedly.)

I can’t figure out the syntax.

I was hoping for something like:

Routine1()
.
Routine2(item1, item2)
.
set MyVariable to Routine3()

etc.

Anyone able to send m ein the right direction?

Hi,

you have to load the library script first.
Take a look at Beginner’s Introduction to AppleScript Libraries

Stefan: That worked. Thanks!