Hiya all,
In HM 8.86, on the bottom of the context-menu, there is "Trace" and "Telnet"...
Is it possible to add menu items there myself, like VNC or MSTSC or IEXPLORE, with the target of the test as command line option...
Thanks!
Right-Click context menu
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Sure, you may use custom menu profiles (menu User->Custom menu profiles...). There you may create custom menu item, specify command line with macro variables and assign them to different test methods.
E.g. for MSTSC you may specify Command line like the following:
MSTSC /v:%HostAddr%
Please check the manual or visit our web site for more information at:
Custom menu profiles: http://www.ks-soft.net/hostmon.eng/mfra ... m#custmenu
Macro variables: http://www.ks-soft.net/hostmon.eng/mfra ... #currmacro
E.g. for MSTSC you may specify Command line like the following:
MSTSC /v:%HostAddr%
Please check the manual or visit our web site for more information at:
Custom menu profiles: http://www.ks-soft.net/hostmon.eng/mfra ... m#custmenu
Macro variables: http://www.ks-soft.net/hostmon.eng/mfra ... #currmacro
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 2
- Joined: Thu Jun 16, 2022 3:23 am
Hello. Please tell me how do I add a vbs script to the context menu and pass the %HostAddr% variable to it? I want to automate the telnet connection to the switch. This is very important to me. I monitor a lot of switches and often run a telnet connection.
Code: Select all
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run Wscript.Arguments.Item(0)
WScript.Sleep 500
WshShell.SendKeys "admin"
WshShell.SendKeys "{ENTER}"
WshShell.SendKeys "12345678"
WshShell.SendKeys "{ENTER}"
WshShell.SendKeys "{ENTER}"
WshShell.SendKeys "{ENTER}"
WshShell.SendKeys "{ENTER}"
Last edited by Muhammadsalim on Sat Jun 25, 2022 4:53 am, edited 1 time in total.
We cannot find any license related to your e-mail.
Could you please contact support @ ks-soft.net and provide your order number or registration name?
cmd /c cscript /B /E:VBScript PATH_TO_SCRIPT_FILE "%HostAddr%"
I would suggest to use %HostAddrB% variable
Regards
Alex
Could you please contact support @ ks-soft.net and provide your order number or registration name?
Store script in the file and add command likePlease tell me how do I add a vbs script to the context menu and pass the %HostAddr% variable to it?
cmd /c cscript /B /E:VBScript PATH_TO_SCRIPT_FILE "%HostAddr%"
I would suggest to use %HostAddrB% variable
Regards
Alex
-
- Posts: 2
- Joined: Thu Jun 16, 2022 3:23 am
I have a trial version that constantly opens a window with registration and at this time my nodes stop pinging.We cannot find any license related to your e-mail.
Could you please contact support @ ks-soft.net and provide your order number or registration name?
I managed to run the script, thanks for the help.Store script in the file and add command like
cmd /c cscript /B /E:VBScript PATH_TO_SCRIPT_FILE "%HostAddr%"
I would suggest to use %HostAddrB% variable