VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   Starting secureCRT form the command line, minimized (https://forums.vandyke.com/showthread.php?t=11417)

papolt 03-05-2014 04:31 PM

Starting secureCRT form the command line, minimized
 
I have a test application that spawns off a series of secureCRT shells, and starts logging on all of the sessions. The test tool starts secureCRT from the command line, using the /S and /LOG options. I'd like use a command line option that iconifies each secureCRT session, to avoid cluttering the desktop. Any suggestions? I really just need to log the session, so any way to pipe the session output tot alog file, without the session window would also work.
Thanks, Peter
Win 7, Python

bgagnon 03-05-2014 04:46 PM

Hello Peter,

What version of SecureCRT are you using?

The Show() method available to the Window object allows you to set the state of the application window to the following values:
0 - Hide
1 - Show (Normal)
2 - Minimize
3 - Maximize
See the Scripting / Script Objects Reference / Window Object topic in SecureCRT's Help for additional information.


Quote:

I really just need to log the session, so any way to pipe the session output tot alog file, without the session window would also work.
As far as this possibility goes, it would really seem like a command-line client (such as ClientPack's vsh) might be more suitable to accomplishing this objective.

papolt 03-06-2014 10:16 AM

Excellent, I'll try out the show()/hide() command. Thanks for the pointer to ClientPak, I'll go try the demo.
-Peter


All times are GMT -6. The time now is 11:57 AM.