< Back

Set-AMWindowConditionControl

Sat Jan 11, 2020 3:38 am

NAME Set-AMWindowConditionControl



SYNOPSIS

Modifies an AutoMate Enterprise window condition control.





SYNTAX

Set-AMWindowConditionControl [-InputObject] <Object> [-ID] <Object> [[-Class] <Object>] [[-Name] <Object>]

[[-Type] <Object>] [[-Value] <Object>] [[-XPosition] <Object>] [[-YPosition] <Object>] [-WhatIf] [-Confirm]

[<CommonParameters>]





DESCRIPTION

Set-AMWindowConditionControl modifies a control in 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



-ID <Object>

The ID of the window control.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Class <Object>

The class of the control.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <Object>

The name of the control.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Type <Object>

The type of control.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Value <Object>

The value of the control.



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-XPosition <Object>

The X position of the control on screen.



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-YPosition <Object>

The Y position of the control on screen.



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

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



OUTPUTS



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



PS C:\\>Get-AMCondition "window" | Set-AMWindowConditionControl -ID "{0cee39da-1f6c-424b-a9bd-eeaf17cbd1f2}" -Class

ConsoleWindowClass -Name Close -Type PushButton















RELATED LINKS

https://github.com/AutomatePS/AutomatePS