ProjectSettings/en: Porovnání verzí
(Založena nová stránka s textem „Profile of the project settings to be applied by command. If not specified, the command works in the mode of setting the individual values using the parame…“) |
|||
| Řádek 18: | Řádek 18: | ||
Type [[Special:MyLanguage/Data types#String | String]] | Type [[Special:MyLanguage/Data types#String | String]] | ||
| − | Profile of the project settings to be applied by command. If not specified, the command works in the mode | + | Profile of the project settings to be applied by command. If not specified, the command works in the mode for setting individual values using the parameters [[#FieldName | FieldName]] and [[#FieldValue | FieldValue]]. |
<span id="scope-"></span> | <span id="scope-"></span> | ||
Verze z 29. 1. 2021, 12:36
Obsah
Description
Alias: PS
Changes the project settings
Applies the project settings in the scope specified by the Scope parameter from the preset specified by the Preset parameter or the default setting, or if the Preset parameter is empty, it sets the individual FieldValue in the FieldName. The change is effective only for the course of the run and has no effect on the default settings.
Input parameters
Preset
Type String
Profile of the project settings to be applied by command. If not specified, the command works in the mode for setting individual values using the parameters FieldName and FieldValue.
Scope
Typ Number
Rámec hodnot, které budou změněny při aplikaci presetu.
FieldName
Typ String
Název pole pro nastavení individuální hodnoty FieldValue (DrawMouseCursor, SearchMode, UserMaskToleranceRGB, PixelToleranceRGB, AutoMaskThreshold, OverallTolerance, CaptureDelay, ClipboardDelay, KeyboardEventDelay, MouseButtonDownDelay, MouseButtonUpDelay, MouseMoveDelay, MouseMoveSteps, AfterMouseMoveDelay, ScrollDelay, WindowActionDelay, AfterCommandDelay nebo AfterFindDelay). Použije se, pokud není nastaven Preset.
FieldValue
Typ String
Individuální hodnota, která bude dosazena do pole FieldName v nastavení projektu. Typ hodnoty závisí na zvoleném FieldName.
- DrawMouseCursor: 0 (=ne) nebo 1, příp. obecně nenulové celé číslo (=ano).
- SearchMode: 0 (=Exact) nebo 1 (=IgnoreSpacing)
- UserMaskToleranceRGB a PixelToleranceRGB: hexadecimální trojice bytů (obdobně jako se zadává barva)
- OverallTolerance: hodnota je v promilích (např. pro 3,5% toleranci je potřeba zadat 35)
- ostatní: celá čísla.
Enabled
Typ Number
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
PreWait
Typ Number
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
PostWait
Typ Number
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.