avoid 'choose application' dialog

This my first post and I’m new to AppleScript.

I keep multiple builds of my application on my Mac for different versions. When I use 'tell application 'MyApp" …" in the script, the ‘choose application’ dialog comes out when compling.

Is there a way to tell the compiler which build I want it so that it can avoid the ‘choose application’ dialog?

Hi osn,

to resolve the different terminologies, all targetted applications must be present at compile time

You might think about “using terms from …” as your specifier.

You can use the path to the app instead of the name:

tell application “path:to:appname.app”