An AppleScript related question, how do I pass variables from one AS to the

next AS. Eq: I wanna call an AS within my existing script. For that I use:

run script file "Macintosh HD:Users:auser:Desktop:Test.scpt"

How do I add the variables to that call and how can I catch them in the other script. I searched the web, but I haven't found a clue.

Any hint is much appreciated.

The preferred way of doing this is to create a script that’s a library of functions and then access those functions using load script. Look here for example code.

Thanks, that helped a lot and did the trick :partying_face: