Translations:WaitForColor/5/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Repeatedly searches the screen for Bitmap1, or Bitmap2 if specified. Once found, and depending on the value of the #waitmode-…“)
 
 
(Nejsou zobrazeny 3 mezilehlé verze od stejného uživatele.)
Řádek 1: Řádek 1:
Repeatedly searches the screen for [[#bitmap1-|Bitmap1]], or [[#bitmap2-|Bitmap2]] if specified. Once found, and depending on the value of the [[#waitmode-|WaitMode]], it waits for the desired [[#color-|Color]] to appear or disappear at the [[#reference1-|Reference1]] location or (in the case of two bitmaps) in a rectangular area delimited by both references. To search for reference bitmaps, the maximum waiting time can be set using [[#wait-|Wait]], to skip multiple occurrences using [[#skip1-|Skip1]] or [[#skip2-|Skip2]], and to mask the search by using [[#maskmode1-|MaskMode1]], [[#bitmapmaskcolor1-|BitmapMaskColor1]] and [[#screenmaskcolor1-|ScreenMaskColor1]] or [[#maskmode2-|MaskMode2]], [[#bitmapmaskcolor2-|BitmapMaskColor2]] and [[#screenmaskcolor2-|ScreenMaskColor2]]. Search areas are specified by the values of [[#capturemode1-|CaptureMode1]] and [[#capturemode2-|CaptureMode2]]. If any of the bitmaps is not found, the command ends in error.
+
Repeatedly searches the screen for [[#bitmap1-|Bitmap1]], or [[#bitmap2-|Bitmap2]] if specified. Once found, and depending on the value of the [[#waitmode-|WaitMode]], it waits for the desired [[#color-|Color]] to appear or disappear at the location of [[#reference1-|Reference1]] or (in the case of two bitmaps) in a rectangular area delimited by both references. To search for reference bitmaps, timeout can be set using [[#wait-|Wait]], to skip multiple occurrences using [[#skip1-|Skip1]] or [[#skip2-|Skip2]], and to mask the search by using [[#maskmode1-|MaskMode1]], [[#bitmapmaskcolor1-|BitmapMaskColor1]] and [[#screenmaskcolor1-|ScreenMaskColor1]] or [[#maskmode2-|MaskMode2]], [[#bitmapmaskcolor2-|BitmapMaskColor2]] and [[#screenmaskcolor2-|ScreenMaskColor2]]. The search area is specified by the value of the [[#capturemode-|CaptureMode]]. If none of the bitmaps is found, the command ends in error.

Aktuální verze z 3. 2. 2021, 14:02

Informace o zprávě (přispět)
K této zprávě není dokumentace. Pokud víte, kde nebo jak se zpráva používá, můžete pomoci dalším překladatelům tím, že přidáte dokumentaci k této zprávě.
Zdroj zprávy (WaitForColor)
Opakovaně na obrazovce hledá výskyt bitmapy [[#bitmap1-| Bitmap1]], případně i bitmapy [[#bitmap2-| Bitmap2]], je-li zadána. Po jejím nalezení, v závislosti na hodnotě parametru [[#waitmode-| WaitMode]], čeká na výskyt nebo zmizení požadované barvy [[#color-| Color]] v místě reference [[#reference1-| Reference1]] nebo (v případě dvou bitmap) obdélníkové oblasti vymezené oběma referencemi. Pro vyhledávání referenčních bitmap je možné nastavit maximální čekací dobu parametrem [[#wait-| Wait]], přeskočení vícenásobných výskytů parametry [[#skip1-| Skip1]] příp. [[#skip2-| Skip2]] a vyhledávání s maskou (parametry [[#maskmode1-| MaskMode1]], [[#bitmapmaskcolor1-| BitmapMaskColor1]] a [[#screenmaskcolor1-| ScreenMaskColor1]] resp. [[#maskmode2-| MaskMode2]], [[#bitmapmaskcolor2-| BitmapMaskColor2]] a [[#screenmaskcolor2-| ScreenMaskColor2]]). Oblast vyhledávání určuje hodnota parametru [[#capturemode-| CaptureMode]]. Pokud není některá z bitmap naleznena, příkaz končí chybou.
PřekladRepeatedly searches the screen for [[#bitmap1-|Bitmap1]], or [[#bitmap2-|Bitmap2]] if specified. Once found, and depending on the value of the [[#waitmode-|WaitMode]], it waits for the desired [[#color-|Color]] to appear or disappear at the location of [[#reference1-|Reference1]] or (in the case of two bitmaps) in a rectangular area delimited by both references. To search for reference bitmaps, timeout can be set using [[#wait-|Wait]], to skip multiple occurrences using [[#skip1-|Skip1]] or [[#skip2-|Skip2]], and to mask the search by using [[#maskmode1-|MaskMode1]], [[#bitmapmaskcolor1-|BitmapMaskColor1]] and [[#screenmaskcolor1-|ScreenMaskColor1]] or [[#maskmode2-|MaskMode2]], [[#bitmapmaskcolor2-|BitmapMaskColor2]] and [[#screenmaskcolor2-|ScreenMaskColor2]]. The search area is specified by the value of the [[#capturemode-|CaptureMode]]. If none of the bitmaps is found, the command ends in error.

Repeatedly searches the screen for Bitmap1, or Bitmap2 if specified. Once found, and depending on the value of the WaitMode, it waits for the desired Color to appear or disappear at the location of Reference1 or (in the case of two bitmaps) in a rectangular area delimited by both references. To search for reference bitmaps, timeout can be set using Wait, to skip multiple occurrences using Skip1 or Skip2, and to mask the search by using MaskMode1, BitmapMaskColor1 and ScreenMaskColor1 or MaskMode2, BitmapMaskColor2 and ScreenMaskColor2. The search area is specified by the value of the CaptureMode. If none of the bitmaps is found, the command ends in error.