The conventional way to access an AppleScript in Xojo is to drag the script into the Navigator. That script will then be included in the built app and you can run it in your code just by knowing its name.
What I am trying to do is create an application where the user can point to /select AppleScripts so that they can be activated within Xojo. Can you activate an AppleScript from Xojo just knowing its path?
The idea for the application overall would be that the user could select AppleScripts that he/she would like to access at the moment or in the future. The app would take care of cloning the selected AppleScript compiled file and storing it in some folder whose path is known to the application. Then whenever the app is opened that folder could be examined and the names etc. of these previously selected AppleScripts could be stored in some array in the application and activated as needed by the user.
Is this possible? Does someone have advice about the best way to implement this?