Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help using cheat engine to turn on USB light

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
blackmatch
How do I cheat?
Reputation: 0

Joined: 07 Nov 2017
Posts: 3

PostPosted: Mon Nov 13, 2017 3:07 pm    Post subject: Help using cheat engine to turn on USB light Reply with quote

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")

exit shellExecute ("C:\delcom\alloff.bat")

end


thanks for any insight into my problem
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Mon Nov 13, 2017 4:40 pm    Post subject: Reply with quote

You already have multiple topics created for this exact thing, locking this one.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites