#1
|
|||
|
|||
![]()
Dear VanDyke Support,
Since years I am using secureCRT and I am delighted with this piece of software. Also at my new employer with about 1200 network devices. My challenge: I want to start an additional application in parallel to a ssh session. This is already working under logon actions with a vbs logon script i. e. Sub Main Dim shell Set shell = CreateObject("WScript.Shell") shell.Run """C:\Program Files\Internet Explorer\IExplore.exe"" https://10.21.0.233" End Sub I have to create hundreds of scripts, for each session one script. But I think it is possible to use the hostname used for the ssh or telnet session as a variable for the external session, maybe out of the session.ini file? Or out of a hostlist file? Or......? ..........https://$hostname If yes, can you give me an example. Thanks, Martin |
#2
|
|||
|
|||
Hi Martin,
There are various methods you could use to accomplish your goal. One method would be to use the RemoteAddress property of the Session object. For example: Code:
strHost = crt.Session.RemoteAddress Does this help you accomplish your goal? |
#3
|
|||
|
|||
![]()
Thanks Todd,
It`s much easier I thought! BR, Martin |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|