Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-23-2018, 11:42 AM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 654
Post Example: Import Keyword Highlighting INI File

This example demonstrates an easy way to import a Keyword Highlighting INI file into SecureCRT.

Watch the keyword highlighting video.
Watch the import keyword INI file video.

Note: This script will only work with SecureCRT version 7.3 and later. That's the version where Keyword Highlighting with regular expressions was first made available.

Example keyword highlighting INI files:
Please see this forum post by user Casey to pay homage to where this all began.

Want to manually import a keyword INI file instead of using the script?
If for any reason you don't want to bother with the script -- or it fails to work for you because you're on an unsupported platform/version -- you can "import" your keywords file manually. Here's how...
Overview:
Copy the "Cisco Words.ini" file into the "Keywords" folder found in SecureCRT's Configuration folder location.

Details:
  1. Download the "Cisco Words.ini" file or "Cisco Words for BlackBckgrd.ini" if you haven't already done so.

  2. Copy the downloaded .ini file to the "Keywords" subfolder found in SecureCRT's Configuration folder.
    • If you don't know where SecureCRT's Configuration folder is, open Options / Global Options and navigate to the Configuration paths category.
    • If a "Keywords" subfolder doesn't exist in SecureCRT's Config folder, create one there and set permissions on it (if necessary) so that you can write/copy files into that location.

  3. Now you can edit the session options for any of your saved sessions (or the Default session, if you want it configured for all of your existing and future sessions/connections) and in the Keyword Highlighting category of the Session Options window you'll now see "Cisco Words" as an entry in the "List name" drop-down.

Download the example script file here:
Attached Files
File Type: txt ImportKeywordHighlightINI.py.txt (8.8 KB, 11035 views)
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by jdev; 12-14-2020 at 12:22 PM. Reason: Add YouTube video links related to keyword highlighting in SecureCRT
Closed Thread

Tags
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 08:51 PM.