Quick Sign In:  

Forum: VirtualDJ Plugins

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

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

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.
 

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

geposted 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!

 

geposted 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.
 

geposted 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
 

geposted 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.
 

geposted Wed 01 Feb 17 @ 12:50 pm


(Alte Themen und Foren werden automatisch geschlossen)