Kinect for windows SDK command line

I am working on a project using kinect for windows, we are recording a lot of material and I based some of this project on the fact that when you play a recording from the SDK it is seen be the addon as if it was a live camera. the SDK has some playback tools like loop and a timeline.

I would really like to be able to tell the sdk to switch recordings and start and stop playback from my OF app, without having to go to the GUI of the SDK.

OK just answered my own question but ill leave it here in case it is useful for someone.

The KSUTIL can be found here when you install the kinect SDK

C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409\Tools\KinectStudio

You can run it with ofsystem commands.