Terminal session, pb with send control key and Escape

Hello everyone,

During my transaction with ui path, I need to send an escape to the terminal session so that it goes up one level in the transaction hierarchy. The problem is that the "send Control key “Escape” does nothing

I’m working with studio 2024.10 and the last package for uiAutomation.activites (25.10.13)

Have a nice day
Arnaud

Hey @Mir.Jasimuddin

Thanks for response.

I use the [“send controle key” with escape] inside a terminal session but doens’t work.

Information : I add the ‘ProcessSystemKeys’: true}" in my connection string to terminal session

I’m looking after the specific escape sequence as you’re writing.

Hi @Arnaud_G

try to use send hotkey activity with the Escape key instead. Ensure the terminal is focused and add small delays if needed.

Hi @prashant1603765

I tried your solution with before my “send Hotkey” a “set field at position” to be sure that my terminal session has got the focus
but doesn’t work

Ok @Arnaud_G

some terminals support scripting or special commands to navigate hierarchy levels check if your terminal supports sending escape sequences via API or script.
Try to connect with vendor or UiPath support .

Happy Automation

You can’t do that with the UiPath terminal, it doesn’t accept keyboard input.

I would find out if there is another key that can be used to do the same thing. It’s common for there to be multiple keys that will do the same thing.

Hey @Arnaud_G,

Use Send Hotkey inside the Terminal Session and select ESC.
Ensure "ProcessSystemKeys": true is set in the connection string.
Add small delays or focus the target field before sending ESC to register correctly.

The UiPath terminal doesn’t accept keyboard inputs.

Are you using direct connection, or a third party client? You really should be using direct connection.

@Mir.Jasimuddin I use ,‘ProcessSystemKeys’: true}" in my connection string.
last try => KO

@postwick I use the terminal session activity from *terminal.activities.terminalSession package with connection string

That means you are using Direct Connection (uses the built-in UiPath terminal client), not a third party client, so you can’t use Send Hotkey (and shouldn’t anyway).

I suggest finding out from your mainframe team or the automation BU if there is another keyboard command that can be used to accomplish the same result. I would also suggest trying a newer (or older if you’re on the newest) version of UiPath.Terminal.Activities - possibly there is a bug affecting sending the Esc control key.

@postwick arghhh … thanks
This will save me from banging my head against a wall.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.