The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Left click not working on windows server 2016 (fine on win7)
#1
Hi,

I was hoping you could help me with a problem I'm having. I have a script that scans for an image and then clicks left when that image is spotted. It has worked fine on windows 7. I am trying to run the same script on windows server 2016 and the clicking part of the script isn't working. I can confirm that the scan completes successfully (ie the image is found on the screen) but the mouse doesn't actually left click when it reports it has. Here is a code example:

Code:
Copy      Help
rep
  if(scan("image" 0 0 1|16 55))
    lef
    out "CLICKED"

I see CLICKED output to the console repeatedly but the image is never actually clicked. Is this something to do with windows server 2016 vs win7? Everything else (the browser version, etc) is the same in the two cases.

Thanks!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)