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 06-24-2015, 04:31 AM
a.rossi a.rossi is offline
Registered User
 
Join Date: Jun 2015
Posts: 2
Create Session from file

Hi,
I'm using SecureCRT for mac and i would create a new sessions using IP address contains on a txt file. does anyone know how I could solve?

Thanks for the support
Reply With Quote
  #2  
Old 06-24-2015, 12:05 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi a.rossi,

Thanks for the post.

We now have a Python version of example script to import data from a CSV file into sessions. You can find the example at the following location:
https://forums.vandyke.com/showthrea...7089#post37089
Does this work for you?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 06-25-2015, 07:16 AM
a.rossi a.rossi is offline
Registered User
 
Join Date: Jun 2015
Posts: 2
Thanks for the reply,
Yes, i can create multiple sessions from a csv file with this scritp !
Only one other things, the background of these sessions is black, can i change this senssitngs from script ?

Thanks again for the support
Reply With Quote
  #4  
Old 06-25-2015, 08:48 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi a.rossi,

Thanks for the update. I am glad to hear that the script works for you.

If you want to modify the color scheme used prior to import, you would change line 537. Just change the name of the color scheme used. You can make the change and reimport.

Now that you have your sessions, you can also change the color scheme using either of the methods in the tips at the following locations:
http://www.vandyke.com/support/tips/defaultset.html
http://www.vandyke.com/support/tips/multisessions.html
__________________
--Todd

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 07:43 PM.