< Back

Add-AMWindowConditionControl

Sat Jan 11, 2020 2:27 am

NAME Add-AMWindowConditionControl



SYNOPSIS

Adds a control to an AutoMate Enterprise window condition.





SYNTAX

Add-AMWindowConditionControl [-InputObject] <Object> [[-Class] <Object>] [[-Name] <Object>] [[-Type] <Object>]

[[-Value] <Object>] [[-XPosition] <Object>] [[-YPosition] <Object>] [<CommonParameters>]





DESCRIPTION

Add-AMWindowConditionControl adds a control to an AutoMate Enterprise window condition.





PARAMETERS

-InputObject <Object>

The window condition object to add the control to.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Class <Object>

The class of the control.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <Object>

The name of the control.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Type <Object>

The type of control.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Value <Object>

The value of the control.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-XPosition <Object>

The X position of the control on screen.



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-YPosition <Object>

The Y position of the control on screen.



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

The following AutoMate object types can be modified by this function:

Condition





OUTPUTS

None





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AMCondition "window" | Add-AMWindowConditionControl -Class ConsoleWindowClass -Name Close -Type

PushButton















RELATED LINKS

https://github.com/AutomatePS/AutomatePS