i have found out how to track the mouse and the click of the mouse when it is over the for, how can i track it outside the form? also how do i record it and the timing of when keys are pressed? i need to make this program so that it will test out my friends simple game he made, he wants me to see if the high score will roll over at so much, so i was hoping i could make this record the actions once and it would repeat it to get the score up.
rhinocort23
0
Junior Poster in Training
Recommended Answers
Jump to PostMassage as needed.
Private Sub Timer1_Timer() Dim dc, pnt As POINTAPI, str As String, colr Dim YesAll As Boolean Dim desktop_handle As Long If Enab = True Then desktop_handle = GetDesktopWindow() dc = GetWindowDC(desktop_handle) GetCursorPos pnt colr = GetPixel(dc, pnt.x, pnt.y) ReleaseDC desktop_handle, dc str = "" …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.