WaitForBmp/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „WaitForBmp“)
 
 
(Není zobrazeno 39 mezilehlých verzí od stejného uživatele.)
Řádek 3: Řádek 3:
 
[[Category:GuiMaster Library]]
 
[[Category:GuiMaster Library]]
  
== Popis ==
+
== Description ==
  
 
'''Alias: WFB'''
 
'''Alias: WFB'''
  
'''Čeká na bitmapu.'''
+
'''Waits for the bitmap.'''
  
V závislosti na hodnotě parametru [[#waitmode-| WaitMode]], čeká na výskyt nebo zmizení bitmapy dané parametrem [[#bitmap-| Bitmap]]. Pro vyhledávání referenční bitmapy je možné nastavit maximální čekací dobu parametrem [[#wait-| Wait]], přeskočení vícenásobných výskytů parametrem [[#skip-| Skip]] a vyhledávání s maskou (parametry [[#maskmode-| MaskMode]], [[#bitmapmaskcolor-| BitmapMaskColor]] a [[#screenmaskcolor-| ScreenMaskColor]]). Pokud se v prohledávané oblasti určené parametrem [[#capturemode-| CaptureMode]] bitmapa neobjeví (příp. nezmizí), příkaz končí chybou.
+
Depending on the value of [[#waitmode-|WaitMode]], it waits for the [[# bitmap-|Bitmap]] to appear or disappear. To search for the reference bitmap, timeout can be set using the [[#wait-|Wait]] parameter, to skip multiple occurrences using the [[#skip1-|Skip1]] or [[#skip2-|Skip2]] parameters, and to mask the search by using the parameters [[#maskmode1-|MaskMode1]], [[#bitmapmaskcolor1-|BitmapMaskColor1]] and [[#screenmaskcolor1-|ScreenMaskColor1]] or [[#maskmode2-|MaskMode2]], [[#bitmapmaskcolor2-|BitmapMaskColor2]] and [[#screenmaskcolor2-|ScreenMaskColor2]]. If the bitmap is not found in the search area specified by the [[#capturemode-|CaptureMode]], the command ends in error.
  
== Vstupní parametry ==
+
== Input parameters ==
  
 
<span id="bitmap-"></span>
 
<span id="bitmap-"></span>
 
=== Bitmap ===
 
=== Bitmap ===
  
Typ [[Special:MyLanguage/Datové typy#Bitmap | Bitmap]]
+
Type [[Special:MyLanguage/Data types#Bitmap | Bitmap]]
  
Hledaná bitmapa.
+
Detected bitmap.
  
 
<span id="waitmode-"></span>
 
<span id="waitmode-"></span>
 
=== WaitMode ===
 
=== WaitMode ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Režim čekání na bitmapu (0=čekání na zobrazení, 1=čekání na zmizení).
+
Bitmap wait mode (0=wait to display, 1=wait to disappear).
  
 
<span id="maskmode-"></span>
 
<span id="maskmode-"></span>
 
=== MaskMode ===
 
=== MaskMode ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Režim masky použité při vyhledávání (0=žádná, 1=uživatelská maska, 2=automatická maska).
+
Mask mode used for the search (0=none, 1=user mask, 2=automatic mask).
  
 
<span id="bitmapmaskcolor-"></span>
 
<span id="bitmapmaskcolor-"></span>
 
=== BitmapMaskColor ===
 
=== BitmapMaskColor ===
  
Typ [[Special:MyLanguage/Datové typy#Color | Color]]
+
Type [[Special:MyLanguage/Data types#Color | Color]]
  
Klíčová barva uživatelské masky v zadané bitmapě (používá se pouze při MaskMode=1).
+
Key color of the user mask in the specified bitmap (used only for MaskMode=1).
  
 
<span id="screenmaskcolor-"></span>
 
<span id="screenmaskcolor-"></span>
 
=== ScreenMaskColor ===
 
=== ScreenMaskColor ===
  
Typ [[Special:MyLanguage/Datové typy#Color | Color]]
+
Type [[Special:MyLanguage/Data types#Color | Color]]
  
Klíčová barva uživatelské masky na sejmuté obrazovce, odpovídající barvě [[#bitmapmaskcolor-| BitmapMaskColor]]. Tuto hodnotu je třeba nastavit jen v případě, že se tyto dvě barvy liší.
+
Key color of the user mask for the capture, matching the color of the [[#bitmapmaskcolor-| BitmapMaskColor]]. You should set this value only if these two colors are different.
  
 
<span id="skip-"></span>
 
<span id="skip-"></span>
 
=== Skip ===
 
=== Skip ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Určuje počet výskytů bitmap, které se při vyhledávání přeskočí.
+
Specifies the number of times bitmaps were skipped during the search.
  
 
<span id="wait-"></span>
 
<span id="wait-"></span>
 
=== Wait ===
 
=== Wait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Doba čekání v sekundách na výskyt hledané bitmapy.
+
Waiting time in seconds for the detected bitmap to appear.
  
 
<span id="capturemode-"></span>
 
<span id="capturemode-"></span>
 
=== CaptureMode ===
 
=== CaptureMode ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Definuje oblast vyhledávání (0=desktop, 1=aktivní okno, 2=aktivní region, 3=oblast aktivního okna, 16=klientská část aktivního okna, 257-264=monitor 1-8, 512-520=aktivní region 0-8).
+
Defines the search area (0=desktop, 1=active window, 2=active region, 3=active window area, 16=client part of the active window, 257-264=monitor 1-8, 512-520=active region 0-8).
  
 
=== OnlyIfNotNull ===
 
=== OnlyIfNotNull ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Pokud má hodnotu 1, pak se příkaz neprovádí v případě, kdy není zadána hodnota parametru Bitmap.
+
If the value is 1, the command will not run unless the value of the [[#bitmap-| Bitmap]] parameter is specified.
  
 
=== Enabled ===
 
=== Enabled ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
+
Enables or disables the command. If the value is 0, the command will not execute.
  
 
=== PreWait ===
 
=== PreWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
  
 
=== PostWait ===
 
=== PostWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
  
== Výstupní parametry ==
+
== Output parameters ==
  
== Viz také ==
+
== See also ==
  
[[Special:MyLanguage/Příklady použití#WaitForBmp | Příklady použití]]
+
[[Special:MyLanguage/Examples of use#WaitForBmp | Examples of use]]
  
[[Special:MyLanguage/Používání masky|Používání masky]]
+
[[Special:MyLanguage/Using masks|Using masks]]
  
[[Special:MyLanguage/Režimy snímání obrazovky|Režimy snímání obrazovky]]
+
[[Special:MyLanguage/Capture modes|Capture modes]]
  
[[Special:MyLanguage/Řešení více výskytů hledané bitmapy|Řešení více výskytů hledané bitmapy]]
+
[[Special:MyLanguage/Resolving multiple occurrences of the detected bitmap|Resolving multiple occurrences of the detected bitmap]]
  
[[Special:MyLanguage/Časový limit a systémové parametry|Časový limit a systémové parametry]]
+
[[Special:MyLanguage/Timeout and system parameters|Timeout and system parameters]]

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

Jiné jazyky:
English • ‎čeština

Description

Alias: WFB

Waits for the bitmap.

Depending on the value of WaitMode, it waits for the Bitmap to appear or disappear. To search for the reference bitmap, timeout can be set using the Wait parameter, to skip multiple occurrences using the Skip1 or Skip2 parameters, and to mask the search by using the parameters MaskMode1, BitmapMaskColor1 and ScreenMaskColor1 or MaskMode2, BitmapMaskColor2 and ScreenMaskColor2. If the bitmap is not found in the search area specified by the CaptureMode, the command ends in error.

Input parameters

Bitmap

Type Bitmap

Detected bitmap.

WaitMode

Type Number

Bitmap wait mode (0=wait to display, 1=wait to disappear).

MaskMode

Type Number

Mask mode used for the search (0=none, 1=user mask, 2=automatic mask).

BitmapMaskColor

Type Color

Key color of the user mask in the specified bitmap (used only for MaskMode=1).

ScreenMaskColor

Type Color

Key color of the user mask for the capture, matching the color of the BitmapMaskColor. You should set this value only if these two colors are different.

Skip

Type Number

Specifies the number of times bitmaps were skipped during the search.

Wait

Type Number

Waiting time in seconds for the detected bitmap to appear.

CaptureMode

Type Number

Defines the search area (0=desktop, 1=active window, 2=active region, 3=active window area, 16=client part of the active window, 257-264=monitor 1-8, 512-520=active region 0-8).

OnlyIfNotNull

Type Number

If the value is 1, the command will not run unless the value of the Bitmap parameter is specified.

Enabled

Type Number

Enables or disables the command. If the value is 0, the command will not execute.

PreWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

PostWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

Output parameters

See also

Examples of use

Using masks

Capture modes

Resolving multiple occurrences of the detected bitmap

Timeout and system parameters