Quote from luishp on April 15, 2019, 7:38 amAttached is a sample App to perform a simple math addition.There are three buttons:
- Operation through a JavaScript subroutine.
- Operation through a NeoScript subroutine.
- Operation through a Plugin.
The plugin source code is attached too.I hope this will help anyone interested on creating subroutines and plugins.
Please, let me know if you have any doubt.
Quote from noyzen on June 27, 2023, 2:43 pmWhat if reult of JavaScript Function is a variable ARRAY? like mine:
let KeyHeldMultiResult=detectHeldKeys();This is call for my function. output is an JS array, how to give array to user? I tried VARREF and ARRAYDATA and my app errors.
Need to convert it to VisualNEO Array and pass it to user so he can use.Can you help me learn how to develope plugins? i need a complex sample which explain everything :)
What if reult of JavaScript Function is a variable ARRAY? like mine:
let KeyHeldMultiResult=detectHeldKeys();
This is call for my function. output is an JS array, how to give array to user? I tried VARREF and ARRAYDATA and my app errors.
Need to convert it to VisualNEO Array and pass it to user so he can use.
Can you help me learn how to develope plugins? i need a complex sample which explain everything :)
Quote from luishp on June 27, 2023, 9:50 pm@noyzen I can provide you any plugin source code for you to study. Just let me know wich ones do you want.
@noyzen I can provide you any plugin source code for you to study. Just let me know wich ones do you want.
Quote from luishp on June 28, 2023, 1:51 pm@noyzen take a look at the attached file. It doesn't include all the external JavaScript and CSS files but I think it will help you understand how to deal with Arrays.
@noyzen take a look at the attached file. It doesn't include all the external JavaScript and CSS files but I think it will help you understand how to deal with Arrays.
Uploaded files:Quote from smartmedia on May 29, 2025, 9:20 amHi..
@luishp i am creating a plugin and i have some questions. Where i can find all the explanation about the type of options ?
- I want to use a color selection, is that possible ?
- How i will put a subroutine field inside the command so that the user will enter the subroutine of hes choice ?
- What type of filed i must choose to give the ability to user to add path and filename ? (it must be local ? or www)
- I think a very good documented help about creating a plugin is missing.
Thanks
Hi..
@luishp i am creating a plugin and i have some questions. Where i can find all the explanation about the type of options ?
Thanks
Quote from luishp on May 29, 2025, 11:39 amHi @smartmedia,
I want to use a color selection, is that possible ?
No, there is not a color selection option for plugins. Note that there is a color selector for final users but not for developers using a plugin.
How i will put a subroutine field inside the command so that the user will enter the subroutine of hes choice ?
It's the developer using the plugin who can chose a subroutine, not the final user. Just use the "Function" parameter type.
To call the developer chosen subroutine just use this JavaScript: myfunctionparameter();
Change myfunctionparameter for whatever name you have chosen for your parameter.What type of filed i must choose to give the ability to user to add path and filename ?
Again, remember it's not the final user but your plugin user (developer). Use the FilePath parameter type.
The chosen file will be included in the published app automatically.I think a very good documented help about creating a plugin is missing.
Have you checked this already?:
https://webhelp.visualneo.com/PluginGenerator.htmlRegards.
Hi @smartmedia,
I want to use a color selection, is that possible ?
No, there is not a color selection option for plugins. Note that there is a color selector for final users but not for developers using a plugin.
How i will put a subroutine field inside the command so that the user will enter the subroutine of hes choice ?
It's the developer using the plugin who can chose a subroutine, not the final user. Just use the "Function" parameter type.
To call the developer chosen subroutine just use this JavaScript: myfunctionparameter();
Change myfunctionparameter for whatever name you have chosen for your parameter.
What type of filed i must choose to give the ability to user to add path and filename ?
Again, remember it's not the final user but your plugin user (developer). Use the FilePath parameter type.
The chosen file will be included in the published app automatically.
I think a very good documented help about creating a plugin is missing.
Have you checked this already?:
https://webhelp.visualneo.com/PluginGenerator.html
Regards.