|
If the file doesn't exist, dialog.loadFromFile checks in the Dialogs folder in your Frontier folder. If it exists there, it's loaded.
If you're publishing a script that uses a dialog run from the Dialogs folder, we ask that you append your initials to the end of the file name to help eliminate conflicting names.
Use this verb when a dialog may run several times from within a single script. Never depend on your dialog being loaded from run to run. If a dialog can only run once within a script, use dialog.runFromFile because it is simpler.
dialog.loadFromFile is implemented as a Frontier script, so you can examine the source code to see how it works.
|