[Suggestion] Include Script
[Suggestion] Include Script
Being able to include scripts would be good, and have them compiled into the plugin file, and/or maybe to add script panes in the IDE, large plugins will start to get a bit of a struggle when working with only 2 script panes it would be very useful to break up the code and maybe set the loading order preference for any user scripts so we can be sure the scripts load in the right order
That's a good idea
i have already implemented a similar thing in another project in the past
i could make it like below
an action will load and excute a script ecryted and embeded with the plugin , for example
so users can load scripts in the order they want , or by conditions
what would be best way to edit scripts ,additional tabs to the plugin script editor tabs ?
or adding a button to project menu (ribbon) that opens a dialog to add/edit/delete scripts ?
i have already implemented a similar thing in another project in the past
i could make it like below
an action will load and excute a script ecryted and embeded with the plugin , for example
Code: Select all
__Plugin.ExecScript('scriptname');
Code: Select all
if (x==y) then
__Plugin.ExecScript('script-a');
else
__Plugin.ExecScript('script-b');
end
or adding a button to project menu (ribbon) that opens a dialog to add/edit/delete scripts ?
- BadKaiPanda
- Registered User
- Posts: 95
- Joined: Fri Jun 14, 2013 8:49 pm
I would say offer the user both means to do it, so they can add tabs or another window and make it so it runs in its own thread when its a dialog so you can pop back from one and anotherSerkan wrote: what would be best way to edit scripts ,additional tabs to the plugin script editor tabs ?
or adding a button to project menu (ribbon) that opens a dialog to add/edit/delete scripts ?