Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2014, 04:31 PM
papolt papolt is offline
Registered User
 
Join Date: Dec 2012
Posts: 2
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
Reply With Quote
  #2  
Old 03-05-2014, 04:46 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,574
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.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 03-06-2014, 10:16 AM
papolt papolt is offline
Registered User
 
Join Date: Dec 2012
Posts: 2
Excellent, I'll try out the show()/hide() command. Thanks for the pointer to ClientPak, I'll go try the demo.
-Peter
Reply With Quote
Reply

Tags
command-line options


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

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 01:37 PM.