Jump to content

Renk Değişimi


mfs776
 Share

Recommended Posts

x ve y koordinatlarında belirttiğim renk olduğunda döngünün durmasını belirttiğim renk olmadığında işlem yapmaya devam etmesini istiyorum bunu ne tür bir yol izleyerek yapabilirim acaba

Edited by mfs776
Link to comment
Share on other sites

aslında pixel search ile değil de direk pixelgetcolor ile denedim fakat bir sonuç alamadım bu şekilde de olması gerekmiyor mu normalde acaba
 
$gonder ile mevcut pencereyi seçtirdim burada x=7 y=7 de siyah renk oluştuğunda
2sn beklemesi için sleep kullandım
 
$yuklemeModu = PixelGetColor($gonder,7,7)
If $yuklemeModu = 0x000000
Then
Sleep(2000)
endif
 
ancak şu şekilde denediğimde bir sonuç alamadım
 
 
Edited by mfs776
Link to comment
Share on other sites

peki bunu bu şekilde kullandım ancak bu kodu kullandığımda while döngüsü tekrar etmeyip kendini kapatıyor isterseniz özel mesajdan ne yapmaya çalıştığımı gönderebilirim

Edited by mfs776
Link to comment
Share on other sites

  • 4 hafta sonra ...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...