DragAndDrop/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
 
(Není zobrazeno 33 mezilehlých verzí od stejného uživatele.)
Řádek 10: Řádek 10:
  
 
<div class="mw-translate-fuzzy">
 
<div class="mw-translate-fuzzy">
Uses the mouse to drag an object from the point specified by [[# reference1-|Reference1]] relative to [[#bitmap1-|Bitmap1]] to point [[#reference2-|Reference2]] relative to [[#bitmap2-|Bitmap2]] using the [[#button-|button Button]]. For moving, the status of shift keys can be set using the [[#key-|Key]] parameter. The number of clicks at the starting point is determined by the [[#clickcount-|ClickCount]] parameter. To search for reference bitmaps, the maximum waiting time 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 using the parameters [[#maskmode1-|MaskMode1]], [[#bitmapmaskcolor1-|BitmapMaskColor1]] and [[#screenmaskcolor1-|ScreenMaskColor1]] or [[#maskmode2-|MaskMode2]], [[#bitmapmaskcolor2-|BitmapMaskColor2]] and [[#screenmaskcolor2-|ScreenMaskColor2]]). Search areas are specified by the values of the parameters [[#capturemode1-|CaptureMode1]] and [[#capturemode2-|CaptureMode2]]. If any of the bitmaps is not found, the command ends in error.
+
Uses the mouse to drag an object from the point specified by [[#reference1-|Reference1]] relative to [[#bitmap1-|Bitmap1]] to the point of [[#reference2-|Reference2]] relative to [[#bitmap2-|Bitmap2]] by using the [[#button-|Button]]. For moving, the status of shift keys can be set using the [[#key-|Key]] parameter. The number of clicks at the starting point is determined by the [[#clickcount-|ClickCount]] parameter. To search for reference bitmaps, the 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]]). Search areas are specified by the values of the parameters [[#capturemode1-|CaptureMode1]] and [[#capturemode2-|CaptureMode2]]. If none of the bitmaps is found, the command ends in error.
 
</div>
 
</div>
  
Řádek 90: Řádek 90:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Režim masky použité při vyhledávání bitmapy [[#bitmap2-| Bitmap2]] (0=žádná, 1=uživatelská maska, 2=automatická maska).  
+
Mask mode used to search for [[#bitmap2-| Bitmap2]] (0=none, 1=user mask, 2=automatic mask).  
  
 
<span id="bitmapmaskcolor2-"></span>
 
<span id="bitmapmaskcolor2-"></span>
 
=== BitmapMaskColor2 ===
 
=== BitmapMaskColor2 ===
  
Typ [[Special:MyLanguage/Datové typy#Color | Color]]
+
Type [[Special:MyLanguage/Data types#Color | Color]]
  
Klíčová barva uživatelské masky v bitmapě [[#bitmap2-| Bitmap2]] (používá se pouze při [[#maskmode2-| MaskMode2]]=1).  
+
Key color of the user mask in [[#bitmap2-| Bitmap2]] (used only for [[#maskmode2-| MaskMode2]]=1).  
  
 
<span id="screenmaskcolor2-"></span>
 
<span id="screenmaskcolor2-"></span>
 
=== ScreenMaskColor2 ===
 
=== ScreenMaskColor2 ===
  
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ě [[#bitmapmaskcolor2-| BitmapMaskColor2]]. Tuto hodnotu je třeba nastavit jen v případě, že se tyto dvě barvy liší.
+
Key color of the user mask on the captured screen, matching the color [[# bitmapmaskcolor2-|BitmapMaskColor2]]. You only need to set this value if two colors are different.
  
 
<span id="skip1-"></span>
 
<span id="skip1-"></span>
 
=== Skip1 ===
 
=== Skip1 ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Určuje počet výskytů bitmapy [[#bitmap1-| Bitmap1]], které se při vyhledávání přeskočí.
+
Specifies the number of occurrences of [[#bitmap1-| Bitmap1]] skipped during the search.
  
 
<span id="skip2-"></span>
 
<span id="skip2-"></span>
 
=== Skip2 ===
 
=== Skip2 ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Určuje počet výskytů bitmapy [[#bitmap2-| Bitmap2]], které se při vyhledávání přeskočí.
+
Specifies the number of occurrences of [[#bitmap2-|Bitmap2]] 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ých bitmap.
+
Waiting time in seconds for the bitmap to appear.
  
 
<span id="capturemode1-"></span>
 
<span id="capturemode1-"></span>
Řádek 131: Řádek 131:
 
=== CaptureMode1 ===
 
=== CaptureMode1 ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Definuje oblast vyhledávání bitmapy [[#bitmap1-| Bitmap1]] (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 of [[# bitmap1-|Bitmap1]] (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).
  
 
<span id="capturemode2-"></span>
 
<span id="capturemode2-"></span>
 
=== CaptureMode2 ===
 
=== CaptureMode2 ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Definuje oblast vyhledávání bitmapy [[#bitmap2-| Bitmap2]] (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 of [[#bitmap2-|Bitmap2]] (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).
  
 
=== 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 be executed.
  
 
=== 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í#DragAndDrop | Příklady použití]]
+
[[Special:MyLanguage/Examples of use#DragAndDrop|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 searched bitmap|Resolving multiple occurrences of the searched 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, 13:52

Jiné jazyky:
English • ‎čeština

Description

Alias: DAD

Drags an object to another object.

Uses the mouse to drag an object from the point specified by Reference1 relative to Bitmap1 to the point of Reference2 relative to Bitmap2 by using the Button. For moving, the status of shift keys can be set using the Key parameter. The number of clicks at the starting point is determined by the ClickCount parameter. To search for reference bitmaps, the 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). Search areas are specified by the values of the parameters CaptureMode1 and CaptureMode2. If none of the bitmaps is found, the command ends in error.

Input parameters

Bitmap1

Type Bitmap

Bitmap for the dragged object.

Reference1

Type Reference

Reference to the dragged object.

Bitmap2

Type Bitmap

Bitmap for the target object.

Reference2

Type Reference

Reference to the target object.

ClickCount

Type Number

Number of clicks at the point Reference1.

Button

Type Number

Specifies the mouse button used for clicking (0=none, 1=left, 2=right, 3=middle).

Key

Type Number

This parameter makes it possible to simulate the pressing of shift keys during dragging. A value of 0 means no shift keys, otherwise any combination of values can be used: 1=Shift, 2=Control, 4=Alt.

MaskMode1

Type Number

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

BitmapMaskColor1

Type Color

Key color of the user mask in Bitmap1 (used only for MaskMode1=1).

ScreenMaskColor1

Type Color

Key color of the user mask on the captured screen, matching the color BitmapMaskColor1. You only need to set this value if two colors are different.

MaskMode2

Type Number

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

BitmapMaskColor2

Type Color

Key color of the user mask in Bitmap2 (used only for MaskMode2=1).

ScreenMaskColor2

Type Color

Key color of the user mask on the captured screen, matching the color BitmapMaskColor2. You only need to set this value if two colors are different.

Skip1

Type Number

Specifies the number of occurrences of Bitmap1 skipped during the search.

Skip2

Type Number

Specifies the number of occurrences of Bitmap2 skipped during the search.

Wait

Type Number

Waiting time in seconds for the bitmap to appear.

CaptureMode1

Type Number

Defines the search area of Bitmap1 (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).

CaptureMode2

Type Number

Defines the search area of Bitmap2 (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).

Enabled

Type Number

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

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 searched bitmap

Timeout and system parameters