I have several scripts within my alfresco repository at: 'Company Home/Data Dictionary/Scripts'. Because I am switching repositories on a regular basis, I would like to move my scripts to the file system.
This follows the same principal as being able to place webscripts in both the repository at 'Company Home/Data Dictionary/Web Scripts Extension' and on the file system at '$TOMCAT_HOME/shared/classes/alfresco/extension/templates/webscripts'
When going to Run Action > Execute Script, the scripts on the file system are not in the list of available scripts and they are also inaccessible to rules.
I am fairly certain that if you want to run scripts from the UI, they must live in the Scripts directory within the repository.
Those scripts are content, so if you are switching repositories often you might consider exporting them into an ACP and then importing them into your other repositories. Note that, by default, an ACP import will not update existing nodes. You'll have to delete any scripts that are in your ACP that also exist in the folder you are importing into.