ProjectSettings/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „== Description ==“)
(Založena nová stránka s textem „== Output parameters ==“)
 
(Není zobrazeno 21 mezilehlých verzí od stejného uživatele.)
Řádek 7: Řádek 7:
 
'''Alias: PS'''
 
'''Alias: PS'''
  
'''Změní nastavení projektu'''
+
'''Changes the project settings'''
  
Aplikuje nastavení projektu v rozsahu daném parametrem [[#scope-| Scope]] z presetu určeného parametrem [[#preset-| Preset]] nebo výchozí nastavení, případně, pokud je parametr [[#preset-| Preset]] prázdný, nastaví individuální hodnotu [[#FieldValue | FieldValue]] do pole [[#FieldName | FieldName]]. Změna se projeví pouze po dobu běhu a nemá vliv na výchozí nastavení.
+
Applies the project settings in the scope specified by the [[#scope-| Scope]] parameter from the preset specified by the [[#preset-| Preset]] parameter or the default setting, or if the [[#preset-| Preset]] parameter is empty, it sets the individual [[#FieldValue | FieldValue]] in the [[#FieldName | FieldName]]. The change is effective only for the course of the run and has no effect on the default settings.
  
== Vstupní parametry ==
+
== Input parameters ==
  
 
<span id="preset-"></span>
 
<span id="preset-"></span>
 
=== Preset ===
 
=== Preset ===
  
Typ [[Special:MyLanguage/Datové typy#String | String]]
+
Type [[Special:MyLanguage/Data types#String | String]]
  
Profil nastavení projektu, který bude příkazem aplikován. Pokud není zadán, pak příkaz funguje v režimu nastavení individuální hodnoty použitím parametrů [[#FieldName | FieldName]] a [[#FieldValue | FieldValue]].
+
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>
  
 
=== Scope ===
 
=== Scope ===
Typ [[Datové typy#Number | Number]]
+
Type [[Data types#Number | Number]]
  
Rámec hodnot, které budou změněny při aplikaci presetu.
+
Range of values that will change when the preset is applied.
  
 
=== FieldName ===
 
=== FieldName ===
Typ [[Datové typy#String | String]]
+
Type [[Data types#String | String]]
  
Název pole pro nastavení individuální hodnoty [[#FieldValue | 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 | Preset]].
+
Name of the individual [[#FieldValue | FieldValue]] to be set (DrawMouseCursor, SearchMode, UserMaskToleranceRGB, PixelToleranceRGB, AutoMaskThreshold, OverallTolerance, CaptureDelay, ClipboardDelay, KeyboardEventDelay, MouseButtonDownDelay, MouseButtonUpDelay, MouseMoveDelay, MouseMoveSteps, AfterMouseMoveDelay, ScrollDelay, WindowActionDelay, AfterCommandDelay or AfterFindDelay). Used if [[#Preset | Preset]] is not set.
  
 
=== FieldValue ===
 
=== FieldValue ===
Typ [[Datové typy#String | String]]
+
Type [[Data types#String | String]]
  
Individuální hodnota, která bude dosazena do pole [[#FieldName | FieldName]] v nastavení projektu. Typ hodnoty závisí na zvoleném [[#FieldName | FieldName]].
+
Individual value to be put in the [[#FieldName | FieldName]] in the project settings. The type of value depends on the selected [[#FieldName | FieldName]].
*DrawMouseCursor: 0 (=ne) nebo 1, příp. obecně nenulové celé číslo (=ano).
+
*DrawMouseCursor: 0 (=no) or 1, possibly a non-zero whole number (=yes).
*SearchMode: 0 (=Exact) nebo 1 (=IgnoreSpacing)
+
*SearchMode: 0 (=Exact) or 1 (=IgnoreSpacing)
*UserMaskToleranceRGB a PixelToleranceRGB: hexadecimální trojice bytů (obdobně jako se zadává barva)
+
*UserMaskToleranceRGB and PixelToleranceRGB: hexadecimal triple bytes (similar to specifying the color)
*OverallTolerance: hodnota je v promilích (např. pro 3,5% toleranci je potřeba zadat 35)
+
*OverallTolerance: the value is in per mille (e.g. for a 3.5% tolerance, 35 needs to be entered)
*ostatní: celá čísla.
+
*Others: whole numbers.
  
 
=== 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 ==

Aktuální verze z 29. 1. 2021, 12:48

Jiné jazyky:
English • ‎čeština

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

Type Number

Range of values that will change when the preset is applied.

FieldName

Type String

Name of the individual FieldValue to be set (DrawMouseCursor, SearchMode, UserMaskToleranceRGB, PixelToleranceRGB, AutoMaskThreshold, OverallTolerance, CaptureDelay, ClipboardDelay, KeyboardEventDelay, MouseButtonDownDelay, MouseButtonUpDelay, MouseMoveDelay, MouseMoveSteps, AfterMouseMoveDelay, ScrollDelay, WindowActionDelay, AfterCommandDelay or AfterFindDelay). Used if Preset is not set.

FieldValue

Type String

Individual value to be put in the FieldName in the project settings. The type of value depends on the selected FieldName.

  • DrawMouseCursor: 0 (=no) or 1, possibly a non-zero whole number (=yes).
  • SearchMode: 0 (=Exact) or 1 (=IgnoreSpacing)
  • UserMaskToleranceRGB and PixelToleranceRGB: hexadecimal triple bytes (similar to specifying the color)
  • OverallTolerance: the value is in per mille (e.g. for a 3.5% tolerance, 35 needs to be entered)
  • Others: whole numbers.

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