VanDyke Software Forums

VanDyke Software Forums (
-   Scripting (
-   -   Sendkeys Works? (

zunzun 04-12-2019 02:32 AM

Sendkeys Works?
Hi,this is my first message and I need your help.

I need to break with CTRL+P but I don't get it. I have tried with:

crt.Screen.send chr(30)& "P"
crt.Screen.SendKeys "^P"

Any idea?

Thanks a lot.

jpellegrini 04-12-2019 02:02 PM

Hi zunzun,

Do you need to break in a script, or are you attempting to do so from the terminal while connected to a host?

If you are attempting to break while connected to a host, you can press ctrl+p and you should be able to break as desired.

If you are attempting this from a script, your second option (crt.Screen.SendKeys "^p") should work. If it is not, what happens when this line is executed?

All times are GMT -6. The time now is 06:59 PM.