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 05-05-2021, 01:11 PM
conqueror conqueror is offline
Registered User
 
Join Date: May 2021
Posts: 1
Question If currentrow contains *string*

Hi! I am trying to create two scripts, one which will run at after each successful login and the other will be bound to a hotkey.

What I try to achieve is to bind a script to button B on my keyboard. Once this is pressed it will based on the whichever of the two is present on the screens current row, [user@fedoraserver ~]$ or [admin@fedoraserver ~]$ , type either A or B.

I also wish to get the most consistent variant of this in an own script that runs at login / connect.

Any advice would be greatly appreciated. Thanks!
Reply With Quote
  #2  
Old 05-05-2021, 01:27 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,634
Hi conqueror,

We don't write custom scripts but if you're having trouble figuring out how to accomplish a cohesive task, finding a script method or function in SecureCRT to help accomplish that task, or if you are seeing a specific error in your script, we welcome you to send us a detailed description of the problem you are encountering, the exact error message you are seeing, a copy of the script code that generates the error message, etc. and we will try to get back to you with helpful information.

What version of SecureCRT are you using?

On what platform/OS?

What are the results of your efforts thus far?
__________________
Thanks,
--Brenda

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


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 11:05 PM.