Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Looks like you need to use the <code>Skype UDF</code> and <code>PixelChecksum</code> or maybe even <code>ImageSearch</code> with <code>ImageCapture</code></p> <p>I would say the best way to check if the said area changes is using <code>PixelChecksum</code> which can be used like below. </p> <h3><code>PixelChecksum</code> Code Example 1</h3> <pre><code>Local $GetAreaChecksumOne = PixelChecksum(86, 109, 280, 109) Sleep(60000) Local $GetAreaChecksumTwo = PixelChecksum(86, 109, 280, 109) While $GetAreaChecksumOne &lt;&gt; $GetAreaChecksumTwo $GetAreaChecksumTwo = PixelChecksum(86, 109, 280, 109) Sleep(1000) ConsoleWrite("Match not found") WEnd </code></pre> <p>Or a more normal way of doing it would be:</p> <h3><code>PixelChecksum</code> Code Example 2</h3> <pre><code>Local $GetAreaChecksumOne = PixelChecksum(86, 109, 280, 109) While $GetAreaChecksumOne = PixelChecksum(86, 109, 280, 109) Sleep(100) WEnd </code></pre> <p>Refrence Link: <a href="http://www.autoitscript.com/autoit3/docs/functions/PixelChecksum.htm" rel="nofollow"><code>PixelChecksum</code></a></p> <p>To send a skype message you'll need the <a href="http://www.autoitscript.com/forum/topic/121767-skype-udf-v12-sep-15-2013/" rel="nofollow"><code>Skype UDF</code></a> if you want to send messages to a favourite chat in Skype. </p> <h3><code>Skype</code> Code Example</h3> <pre><code>#include &lt;Skype.au3&gt; Local $sTopic = "Bookmarked (favourited) chat name here" Local $aBookMarkedChat = _Skype_ChatGetBookmarked(), $oChattmp = 0 For $i = 0 To UBound($aBookMarkedChat) -1 $oChattmp = $aBookMarkedChat[$i] If _Skype_ChatGetTopic($oChattmp) = $sTopic Then _Skype_ChatSendMessage($oChattmp, "Message here") EndIf Next </code></pre> <p>If you want to go down an imagecapture and imagesearch route then use something similar to below, however again you'll need the <a href="http://www.autoitscript.com/forum/topic/65748-image-search-library/" rel="nofollow"><code>ImageSearch UDF</code></a></p> <h3><code>ScreenCapture</code> and <code>ImageSearch</code> Code Example</h3> <pre><code>#include &lt;ImageSearch.au3&gt; #include &lt;ScreenCapture.au3&gt; Local $XCoords = 0 Local $YCoords = 0 _ScreenCapture_Capture(@DesktopDir &amp; "Compare.png", 86, 109, 280, 109) Sleep(60000) $Compare = _ImageSearch(@DesktopDir &amp; "Compare.png", 1, $XCoords, $YCoords, 5) While $Compare = 0 $Compare = _ImageSearch(@DesktopDir &amp; "Compare.png", 1, $XCoords, $YCoords, 5) Sleep(1000) WEnd FileDelete(@DesktopDir &amp; "Compare.png") </code></pre> <p>If you want to make a more througah ImageSearch then use ImageSearchArea (faster and for what you need it's better)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload