Embedded Apple Script Reference

This is very elementary. I am just trying to get confirmation of what surely must be true.

When I drag an AppleScript into the Navigation bar, I can access it in my code and get it to run. That “thing” in the Navigation bar is a reference to a file on my computer.

But when I “build” an application, that AppleScript is now really “brought into” the built program itself and it should function even though the user that has that built program does not have the AppleScript file floating somewhere on his/her machine.

Correct? And am asking this because there will ultimately be a second part to this question.

When you build the app, this AppleScript will be copied to the Resources folder of your app, so it will be avaliable inside your app on the users machine.

1 Like

Thanks.

I managed to actually find the Resources folder and saw the AppleScript happily sitting there.

I will initiate a separate thread detailing the problem that I am having.