Translations:SetField/5/en

Z Wiki
Přejít na: navigace, hledání

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, the click on the bitmap found. To search for reference bitmaps, the maximum waiting time 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.