I was just wondering how you would go about opening an applescript or any other executable file located located inside the package contents/resources/ of your own application.
Right now I have something like …
tell application "Finder" activate application (((path to me) as string) & "Contents:Resources:StartTest.app") end tell
When I do this … I get an error that reads … "Finder got an error: Can’t get application “Macintosh HD:Users:userjoe:myapplicaiton:build:Debug:myapplication.app:Contents:Resources:StartTest”. (-1728)