< Back

New-AMKeyboardCondition

Sat Jan 11, 2020 2:57 am

NAME New-AMKeyboardCondition



SYNOPSIS

Creates a new AutoMate Enterprise keyboard condition.





SYNTAX

New-AMKeyboardCondition [-Name] <String> [-Hotkey <String>] [-HotkeyPassthrough] [-Process <String>]

[-ProcessFocused] [-Notes <String>] [-Folder <Object>] [-Connection <Object>] [-WhatIf] [-Confirm]

[<CommonParameters>]



New-AMKeyboardCondition [-Name] <String> [-Text <String>] [-EraseText] [-Process <String>] [-ProcessFocused]

[-Notes <String>] [-Folder <Object>] [-Connection <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

New-AMKeyboardCondition creates a new keyboard condition.





PARAMETERS

-Name <String>

The name of the new object.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Hotkey <String>

The hotkey to trigger the condition.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-HotkeyPassthrough [<SwitchParameter>]

Allow hotkey to continue to the application.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Text <String>

The text to trigger the condition.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-EraseText [<SwitchParameter>]

Erase text afterwards.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Process <String>

Only run when the specified process is active.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProcessFocused [<SwitchParameter>]

The process window must be focused.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Notes <String>

The new notes to set on the object.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Folder <Object>

The folder to place the object in.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Connection <Object>

The server to create the object on.



Required? false

Position? named

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





RELATED LINKS

https://github.com/AutomatePS/AutomatePS