I agree that it would be great if Peter provided enhanced scripting support.
In the meantime, here is what I have done to address the issues you have raised:
- Store all of my compiled script files in a specific KM folder, which is in my DropBox folder.
- Create a KM Global Variable which defines the path for this folder:
DND__KM_Scripts_Folder
- Use this KM Variable in all of my "Execute AppleScript" Actions (and other script actions as well), so that I only have to provide the name of the script file:
- This is actually a custom Action I have saved as a template using the MACRO: [KMFAM] Favorite Actions and Macros system, which works great.
I also use Dropbox to sync my KM Macros. So all of my Macros and scripts are sync'd seamlessly.
HTH.