快速登录:  

Forum: VirtualDJ Plugins

话题: How to call a vbscript command from C++ plugin [v8.2]

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

What C++ code might I use to call a VDJ script command from a plugin. For example if I wanted to popup the var_list from C++?

Thanks for any input.
 

发表时间 Tue 31 Jan 17 @ 10:38 pm
locoDogPRO InfinityModeratorMember since 2013
SendCommand("vdj scripts string");
 

发表时间 Tue 31 Jan 17 @ 10:44 pm
Thanks @loco cause I tried that just before you responded and the var_list messagebox didn't open up

SendCommand("var_list");

But I found the problem. I had a stale plugin I never unloaded (the first one i compiled). I just reloaded it and it's working great.

Thanks again!

 

发表时间 Tue 31 Jan 17 @ 10:52 pm
Oh man this is so nice.. I had code before that I didn't think worked because of not opening a new instance with the new dll. I copied the .dll from my debug folder to VDJ and and never closed the filter window and thus never opened it up with clicking on the gear.

Anyhow even a simple MessageBox will work over the VDJ interface.
 

发表时间 Tue 31 Jan 17 @ 11:59 pm
PachNPRO InfinityMember since 2009
If you're using Visual Studio you don't have to copy the dll everytime you build the solution.

Just set the output dir to the plugin folder or wherever you want it.

Rightclick on your project -> properties -> config properties -> general -> output directory
 

发表时间 Wed 01 Feb 17 @ 10:28 am
Oh thanks @PachN I can do that in cod::blocks IDE too. Just was getting started with the fun stuff.
 

发表时间 Wed 01 Feb 17 @ 12:50 pm


(陈旧帖子或论坛版块会自动关闭)