Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-12-2019, 02:32 AM
zunzun zunzun is offline
Registered User
 
Join Date: Apr 2019
Posts: 1
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.
Reply With Quote
  #2  
Old 04-12-2019, 02:02 PM
jpellegrini jpellegrini is offline
Registered User
 
Join Date: Mar 2019
Posts: 20
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?
__________________
Thanks,
--Jon

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply

Tags
break , control , ctrl , exit , sendkeys


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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