Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: tuonganhvu on September 23, 2014, 07:28:13 AM

Title: How to use jogon in vb_scrip
Post by: tuonganhvu on September 23, 2014, 07:28:13 AM
Hi everybody!
 This is my code
/////////////////////////////////////////////////////////
dooembutton(1003)
message("stop")
sleep(1000)
message("run x until input2 activate")
jogon(0,1)
While(isactive(input2))
Wend
jogoff(0)
sleep(300)
dooembutton(139)
sleep(1000)
message("run y until input3 activate")
jogon(1,1)
While(isactive(input3))
Wend
jogoff(1)
sleep(300)
dooembutton(140)
//////////////////////////////////////////////////
i don't know why my code is not run, please check it for me, many thank!