The Toolbar is a nice tool, but you don't need it for automation. Previous versions of it were open source, so you could look at them and modify your code.
In any case, if you are using TekVISA, you will most likely use the TVC (The Active X Control). The link Hiker posted to "Oscilloscope Analysis and Connectivity Made Easy User Manual" goes over this in great detail. It may be talking about GPIB hardware, but don't' worry about that too much. The only difference for you will be when you open your VISA object to the instrument. The descriptor you use will be for your USB Scope, rather than GPIB. For example. a USB descriptor will look something like USB0::0x0699::0x034E::C010271::INSTR while a GPIB one will be something like GPIB1::8::INSTR.
We do have several Matlab, Python and a C# example of coding here: http://www1.tek.com/forum/viewtopic.php?f=8&t=1789
. The syntax wont be the same on the language side, but the instrument commands and algorithms may be useful.