Screwie to the rescue :-),
ive tried using the code from example in all different ways to no avail ended up with using mc.mcJogVelocityStart(inst, 0, -1) to start then mc.mcJogVelocityStop (inst, 0) to stop, but this then need a load of if and then statements for jog mode etc, but now its a simple as
Button down evt
mc.mcSignalSetState (mc.mcSignalGetHandle (inst, mc.ISIG_JOGXN), 1)
Button up evt
mc.mcSignalSetState (mc.mcSignalGetHandle (inst, mc.ISIG_JOGXN), 0)
as you can see theres no need to keep declaring the mach instance as my whole enviroment is now scripted in wxlua without using the editor buttons etc
cheers screwie....
DazTheGas