Jump to content

Thomas56

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Thomas56's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi Jos, yes, for a true master it is easy. For me it is just . Thank you very much. Now I can go on to step 2 of my Project. On a System start I have to start the Monitoring Software with username and password and for sure this script. I will try to find a way by myself. But is nice to have such helpful People. Thanks again, Thomas
  2. Hi Jos, thank you for your replay. here the Code: #include <ImageSearch2015.au3> #include "WinHttp.au3" $x1 = 0 $y1 = 0 $picture = "C:\alarm.PNG" Do $result = _ImageSearch ($picture,1,$x1,$y1,100,0) ;_ImageSearch($findImage, $resultPosition, ByRef $x, ByRef $y, $tolerance, $transparency = 0) ConsoleWrite($result) until $result = 1; if $result=1 Then Global $MD5 = HttpPost("https://www.pushsafer.com/api?k=xxxxxxxxxxxxxx&d=xxxxxx&s=xx&v=x&m=%0A") MsgBox(64, "MD5", $MD5) Else MsgBox(0,"MSG","End") EndIf
  3. Hi all, I´am new to Autoit and I have no programming skills. What I want to do is I have to check the Screen for an alarm message (Picture) and if this appears I have to send a post request. What I have till now is a Script which can find this Picture with PictureSearch and make the post request to a Server. This works fine. I have copied the needed parts from different sample Scripts all over the web. Now the script search for the Picture, send the request and stops. What I want to change is that the script keeps running and make the request, after a sleep again for three times. Then it shoulg go back to the top and search again for the picture. The script should keep running until it is stopped manualy. Would be great if someone could help. Thanks
×
×
  • Create New...