Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting

Closed Thread
Thread Tools Rate Thread Display Modes
Old 02-05-2016, 04:59 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 823
Example: Color Scheme Scripting

  • Sharing a configuration with team members and want a quick way to get at your preferred colors?
  • Or, do you just want to have your color schemes automatically rotate through each time you connect in order to avoid the monotony of the same view?
  • Or, do you simply want to quickly cycle through all available color schemes in rapid succession to see which one you prefer most?
Whatever your need, these examples demonstrate how you can select pre-defined color schemes from within a SecureCRT script.

Two different examples are available:
Given a value that matches the name of an existing color scheme in SecureCRT, this script changes the color scheme in the current open session to match that color scheme provided. Name that scheme, press the button, and it's yours. SetColorScheme.py.txt is available for downloading below.

Each time this script is run, it rotates your session color scheme setting to the next color scheme defined in SecureCRT's global color scheme list. Use it as a Logon Script to automatically cycle through your color schemes each time you connect. Boredom prevention, perhaps? Nope! It's a 5x click-reduction efficiency increase. ColorSchemeAutoRotation.py.txt is available for downloading below.
Update: 13 Oct, 2017. Script updated to support new color scheme mechanism introduced in 8.3.x versions of SecureCRT. This updated version of the script should work in both older and newer versions, but if you'd like access to the older method, it's attached below as "ColorSchemeAutoRotation-8.1.x-and-earlier.py.txt"

Consider mapping SecureCRT button bar buttons to run these scripts, as demonstrated in this video.

"Happiness is a nice, easy-on-the-eyes color scheme."

Here's a demonstration of the new color schemes now available in SecureCRT 8.3:

Birds Of Paradise



Dark Pastel






Solarized Darcula

Solarized Dark

Solarized Light



Attached Images
File Type: png BirdsOfParadise.png (44.6 KB, 862 views)
File Type: png Chalkboard.png (45.7 KB, 822 views)
File Type: png Ciapre.png (44.2 KB, 788 views)
File Type: png DarkPastel.png (41.4 KB, 833 views)
File Type: png Desert.png (43.0 KB, 788 views)
File Type: png Espresso.png (43.4 KB, 819 views)
File Type: png Idletoes.png (43.3 KB, 805 views)
File Type: png Invisibone.png (45.1 KB, 824 views)
File Type: png Novel.png (44.8 KB, 846 views)
File Type: png SolarizedDarcula.png (43.8 KB, 809 views)
File Type: png SolarizedDark.png (44.2 KB, 817 views)
File Type: png SolarizedLight.png (44.7 KB, 852 views)
File Type: png Tomorrow.png (43.9 KB, 820 views)
File Type: png Zenburn.png (44.1 KB, 807 views)
Attached Files
File Type: txt SetColorScheme.py.txt (1.3 KB, 796 views)
File Type: txt ColorSchemeAutoRotation-8.1.x-and-earlier.py.txt (7.9 KB, 516 views)
File Type: txt ColorSchemeAutoRotation.py.txt (10.5 KB, 315 views)
Jake Devenport
VanDyke Software
Technical Support

Last edited by jdev; 10-13-2017 at 10:11 AM.
Closed Thread

example script

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 06:41 AM.