- Joined
- Jul 22, 2014
- Messages
- 5,795
- Reaction score
- 5,352
- First Language
- English
- Primarily Uses
- RMVXA
Pretty simple question, but one that has been vexing me (as well as my client). Let's say I am writing a plugin called Wavelength_Plugin_1.js but a user saves the file into the project as Very_Cool_Plugin.js. I would still like the plugin to be able to do its job.
When I'm writing the plugin code, is there any way to do either of these?
When I'm writing the plugin code, is there any way to do either of these?
- Get whatever name the user has renamed this plugin as, and store it into a variable
- Use some kind of syntax or keyword to accept whatever name the user has renamed the plugin as
- For example, something like PluginManager.parameters(pluginName)["first_parameter"] instead of PluginManager.parameters("Wavelength_Plugin_1")["first_parameter"]
Last edited: