A Guide to Using VBScript in SecureCRT 13 © 2009-2010 VanDyke Software, Inc.Īccessing the “Default” Session Pressing the Edit Default Settings… button will bring up the window depicted in the following graphic. Then press the Edit Default Settings button and the “Session Options – Default” window will appear, allowing you to select the Mapped Keys category for the Default session. This task can be accomplished in much the same way as above, with the following differences: 1) Bring up the Global Options dialog and choose the General / Default Session category. ![]() Mapping a Key to Run a Script If you want to be able to launch a script using the same mapped key in any session you are connected to in SecureCRT, you’ll likely want to define the new mapped keys in your “Default” session, and then apply the change to all your sessions. 4) Select the Run Script action from the Function drop-down and then specify the path to the script you wish to launch in the Run Script field. ![]() 3) With the Map Key window active, press the keyboard combination you wish to use when launching the script (specifying which script to run is done in the subsequent step). Here’s the basic approach to mapping a key to run a script: 1) Open the Session Options dialog and select the Terminal / Emulation / Mapped Keys category: Accessing the Session Options, “Mapped Keys” Category A Guide to Using VBScript in SecureCRT 12 © 2009-2010 VanDyke Software, Inc.Ģ) Press the Map a Key… button and the Map Key window will appear. Mapping a Key to Run a Script If you are anything like “Johnny Hotkeys”, and you have scripts that perform different functions, each of which you would like to launch with the press of a keyboard combination of their own, mapping a key to run a script might work well for you.
0 Comments
Leave a Reply. |