SetField/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „ Examples of use“)
 
(Není zobrazeno 14 mezilehlých verzí od stejného uživatele.)
Řádek 7: Řádek 7:
 
'''Alias: SF'''
 
'''Alias: SF'''
  
'''Completing the text field.'''
+
'''Filling in the text field.'''
  
Searches for the bitmap screen provided by the [[#bitmap-| Bitmap]] parameter, and simulates at the [[#reference-| Reference]] point relative to it  a left mouse button click in order to activate the text field expected at that point. It then clears the original content in the mode specified by [[#clearmode-| ClearMode]] and types in the text saved in the [[#text-| Text]] parameter. The typing simulation mode is provided by [[#typemode-| TypeMode]]. Finally, the keystroke specified by [[#appendkey-| AppendKey]] can be simulated or, if [[#appendlabelclick-| AppendLabelClick]] is non-null, then the click on the bitmap found. To search for reference bitmaps, the maximum waiting time can be set with [[#wait-| Wait]], skipping multiple occurrences using [[#skip-| Skip]], and doing a masked search using [[#maskmode-| MaskMode]], [[#bitmapmaskcolor-| BitmapMaskColor]] and [[#screenmaskcolor-| ScreenMaskColor]]. The search area is specified by the value of the [[#capturemode-| CaptureMode]]. If the specified bitmap is not found, the command ends in error.
+
Searches for the bitmap screen provided by the [[#bitmap-| Bitmap]] parameter, and simulates at the [[#reference-| Reference]] point relative to it  a left mouse button click in order to activate the text field expected at that point. It then clears the original content in the mode specified by [[#clearmode-| ClearMode]] and types in the text saved in the [[#text-| Text]] parameter. The typing simulation mode is provided by [[#typemode-| TypeMode]]. Finally, the keystroke specified by [[#appendkey-| AppendKey]] can be simulated or, if [[#appendlabelclick-| AppendLabelClick]] is non-null, then the click on the bitmap found. To search for reference bitmaps, timeout can be set with [[#wait-| Wait]], skipping multiple occurrences using [[#skip-| Skip]], and doing a masked search using [[#maskmode-| MaskMode]], [[#bitmapmaskcolor-| BitmapMaskColor]] and [[#screenmaskcolor-| ScreenMaskColor]]. The search area is specified by the value of the [[#capturemode-| CaptureMode]]. If the specified bitmap is not found, the command ends in error.
  
 
== Input parameters ==
 
== Input parameters ==
Řádek 88: Řádek 88:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Režim psaní textu (0=send message, 1=keyboard event (Alt+0xxx), 2=keyboard event (local keyboard), 3=send message (no delay))
+
Typing text mode (0=send message, 1=keyboard event (Alt+0xxx), 2=keyboard event (local keyboard), 3=send message (no delay))
  
 
<span id="appendkey-"></span>
 
<span id="appendkey-"></span>
Řádek 95: Řádek 95:
 
Type [[Special:MyLanguage/Data types#String | String]]
 
Type [[Special:MyLanguage/Data types#String | String]]
  
Při nenulové hodnotě simuluje po vyplnění pole stisk zadané klávesy.
+
For a non-null value, it simulates the specified keystroke after filling in the field
  
 
<span id="appendlabelclick-"></span>
 
<span id="appendlabelclick-"></span>
Řádek 102: Řádek 102:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Při nenulové hodnotě klikne po vyplnění pole na nalezenou bitmapu [[#bitmap-| Bitmap]].
+
For a non-null value, it clicks on the found [[#bitmap-| Bitmap]] after filling in the field.
  
 
=== OnlyIfNotNull ===
 
=== OnlyIfNotNull ===
Řádek 108: Řádek 108:
 
Type [[Special:MyLanguage/Data types#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-| Bitmap]] nebo [[#text-| Text]].
+
If the value is 1, the command will not execute unless the [[#bitmap-| Bitmap]] or [[#text-| Text]] is specified.
  
 
=== Enabled ===
 
=== Enabled ===
Řádek 114: Řádek 114:
 
Type [[Special:MyLanguage/Data types#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 ===
Řádek 120: Řádek 120:
 
Type [[Special:MyLanguage/Data types#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 ===
Řádek 126: Řádek 126:
 
Type [[Special:MyLanguage/Data types#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.
  
 
== Output parameters ==
 
== Output parameters ==
Řádek 134: Řádek 134:
 
[[Special:MyLanguage/Examples of use#SetField | Examples of use]]
 
[[Special:MyLanguage/Examples of use#SetField | 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:59

Jiné jazyky:
English • ‎čeština

Description

Alias: SF

Filling in the text field.

Searches for the bitmap screen provided by the Bitmap parameter, and simulates at the Reference point relative to it a left mouse button click in order to activate the text field expected at that point. It then clears the original content in the mode specified by ClearMode and types in the text saved in the Text parameter. The typing simulation mode is provided by TypeMode. Finally, the keystroke specified by AppendKey can be simulated or, if AppendLabelClick is non-null, then the click on the bitmap found. To search for reference bitmaps, timeout can be set with Wait, skipping multiple occurrences using Skip, and doing a masked search using MaskMode, BitmapMaskColor and ScreenMaskColor. The search area is specified by the value of the CaptureMode. If the specified bitmap is not found, the command ends in error.

Input parameters

Bitmap

Type Bitmap

Related bitmap that together with the Reference specifies the position of the text field.

Reference

Type Reference

Reference to the text field relative to the Bitmap.

Text

Type String

Text for completing the field

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

Determines the number of occurrences of bitmaps skipped during the search.

Wait

Type Number

Waiting time in seconds for the searched 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).

ClearMode

Type Number

Mode for clearing the content of the field (0=Leave content, 1=Ctrl+A/Del, 2=Home/Shift+End/Del, 3=Ctrl+A/Back, 4=Home/Shift+End/Back)

TypeMode

Type Number

Typing text mode (0=send message, 1=keyboard event (Alt+0xxx), 2=keyboard event (local keyboard), 3=send message (no delay))

AppendKey

Type String

For a non-null value, it simulates the specified keystroke after filling in the field

AppendLabelClick

Type Number

For a non-null value, it clicks on the found Bitmap after filling in the field.

OnlyIfNotNull

Type Number

If the value is 1, the command will not execute unless the Bitmap or Text 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 searched bitmap

Timeout and system parameters