Posted: Mon Nov 13, 2017 3:07 pm Post subject: Help using cheat engine to turn on USB light
Hi all
at my work we have a laser marking machine that i need to have an operation light for safety reason running with it.
i dont have much experience on code.
would like this have to made as a "trainer" executable as to just be able to open up the "trainer" then open up the laser software and it automatically start working
what i am after is when the cutting software is opened up it runs a command to turn in the light to on ( green) color and when it actually starts cutting to turn the light to another color( orange). then back to first color (green)when cutting would stop.
i have used cheatengine to find the address that displays the text "marking..." that could be used to trigger the light on orange , as for green dont image it is hard to get that to run all the time when not cutting.
the light to be trigger on and off is by dos command
also when either the trainer is closed or the cutting software is closed it needs to run one more command to turn off the light so it does not stay on
sorry for the sad code below but to get the idea if what i am after
shellExecute ("C:\delcom\greenon.bat")
if readStringLocal 0012EC9C = Marking... then
shellExecute ("C:\delcom\yellowon.bat")
else shellExecute ("C:\delcom\greenon.bat")
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum