How SecureCRT uses scripts

tags: # Windows

A friend asked me why hisCRTWithout this button, this button is actually just a button for automatic refresh script

Click it to automatically complete the pre-prepared configuration. Generally, you can click to automatically log in or brush some simple configurations. It is very simple to use this function. First, click on the top of the labelViewAnd let thisButton BarJust tick

Next to createButtonJust right click on the status bar at the bottom

Then selectNew Button

thenactionThere are many options here, what we need to use isRun Script, Then click on the right...Choose the location of the script

Finally fill in hereButtonThe name is fine.

Then you can useButtonHelp us complete simple configuration commands.

Attach the code of the simple script, modify it yourself if you need it, and save it astxtThe file is enough, not difficult.

# $language = "VBScript" 
# $interface = "1.0"   
Sub Main     
crt.sleep 10    
crt.Screen.Send "system-view" & vbCR   
crt.sleep 10    
crt.Screen.Send "user-interface con0" & vbCR   
crt.sleep 10 
crt.Screen.Send "id 0" & vbCR   
crt.sleep 10 
crt.Screen.Send "quit" & vbCR   
crt.sleep 10 
End Sub

Intelligent Recommendation

How to retrieve the SecureCRT password

Session save location secureCRT saves the configuration file for each session in the config folder under C:\Documents and Settings\Administrator\Application Data\VanDyke. Find the corresponding config...

How to upload files in securecrt

In the process of using linux, we may need to upload or download files on linux, whether it is for installing related software or other purposes. Here is a demonstration of uploading and downloading f...

[SecureCRT] How to use Chinese

[SecureCRT] How to use Chinese Learn how to open the menu bar and toolbar of SecureCRT If there is no menu bar above, please type in the toolbar [right click] and click [menu bar] If neither the menu ...

How to connect SecureCRT to Linux

    How to connect SecureCRT to Linux Virtual machine standby: Ctrl+g to enter ipconfig is an operation in Windows ifconfig is an operation in Linux   Solution: right click: Open the te...

How zabbix uses custom scripts to get data and display

How zabbix uses custom scripts to get data and display Enable configuration: The corresponding script: The corresponding zabbix frontend configuration: Reprinted at: https://blog.51cto.com/nosmoking/1...

More Recommendation

Unity uses VSCODE to write C# scripts how to use smart tips

Complete rendering First you need the following tools: (search and install in VSCODE) Then open a C# script in Unity If you find a prompt (usually a Warning) “.NET Framework,Version=v4.5 were no...

SecureCRT uses and solves securecrt rz upload rar, gif file is incorrect

  Install the SecureCRT version as a consolidated version of SecureCR+SecureFX. http://www.portablesoft.org/securecrt-securefx-integrated/ 1, the choice of column text block: hold down the ALT ke...

SecureCrt VBS automatically log backup network device configuration scripts

Device list format is csv format, text format table: can not last one, that is, delete the_huawei_vsys = params (7) of this Code, this is because I need to back up virtual wall here Huawei device clas...

Use GNS3 to associate with SecureCRT to automatically import scripts (the easiest way)

I tossed about the issue of the connection between GNS3 and SecureCRT all night, borrowing from online posts, and found a simpler and more convenient method (haha... as a last resort~), I share it wit...

How to upload files using SecureCRT

How to upload files using SecureCRT Listening to speech   | Browse:3221 | Updated:2017-09-14 12:06 1 2 3 4 5 6 7 Step by step In the use of the deployment project, we need to upload the file to t...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top