Connexion rapide:  

Forum: VirtualDJ Plugins

Sujet How to call a vbscript command from C++ plugin [v8.2]

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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.
 

Posté Tue 31 Jan 17 @ 10:38 pm
locoDogPRO InfinityModeratorMember since 2013
SendCommand("vdj scripts string");
 

Posté 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!

 

Posté 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.
 

Posté 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
 

Posté 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.
 

Posté Wed 01 Feb 17 @ 12:50 pm


(Les anciens sujets et forums sont automatiquement fermés)