Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

9. Your script(s) in your added directory should now be visible in the Scripts menu, again in any project. This only applies to the current version you are using, so if you use both V12 and V13 for example, whichever AWRDE version you originally opened at the beginning is the version that this is applied to. If you want to apply to a later version you also use, and want to keep the settings the same as in your previous version, simply delete this entire folder and AWRDE will make a copy of the folder from the previous version the next time you open the later version.

 Note: to

Creating a Custom Name and Folder for Your Script

To add all your development scripts to a specific folder in the Scripts menu, use this process at the beginning of your scripts. This isn't necessary, but it is extremely helpful to distinguish your development scripts from the built-in scripts.

  1. If you are running everything in your Main Sub, create a new Sub with your script name and have your Main Sub only run that Sub.

...

3. Above your script Sub, add the comment as shown in the image above with the folder name under which you’d like to see your development script. In this example, the folder is named “DevScripts”. So you would add: ‘$MENU=YourFolderName. After saving your script, you'll be able to see your script in the Scripts menu under the folder you specified.

Image Added

4. You can also name the script whatever you would like, using a similar format. Simply use the ‘$NAME=YourScriptName format. This name is what appears in the Scripts menu, so you can name the script anything you want that is not necessarily VBA syntax-compatible (e.g. using spaces instead of underscores in the name).

...