#1
|
|||
|
|||
![]()
I need to input a lot of passwords for different linux servers, now I am using button bar to do the job ,but I'd like to add similar function to rightclick menu, it will be more convenient for me.
I read help topic and found "Customizing the User Interface", it says the users can use "user-defined commands" in toolbar and menus, which includes "SEND" function. I copyed and modify the "default.mnu" and load it in globle settings. tried to add a command in "POPUPMENU "[context]", but it doesn't work. I want to know if it's possible to add a button which can send strings like "su\r" ? and how? |
#2
|
|||
|
|||
Hello exzzz,
What version of SecureCRT are you using? On what operating system/platform? I just want to be sure this warning appears in any thread referencing menu customization. As noted in SecureCRT's Help file: Quote:
Quote:
In what way did it not work? Here is what I added to a custom menu to send the string Hello World: Code:
POPUPMENU "[context]" MENUITEM "Str&ingSend", "SEND", "Hello World\n" ...
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
![]() securecrt 7.1.2 build 316 and this problem is solved after I post the question, right the way you suggesed, thank you very much!! there is no similar sample in help document, so it took me a while to find out the grammar: POPUPMENU "[context]" MENUITEM "su-", "SEND", "su -\r\ptespw!@#\r" MENUITEM "exit", "SEND", "exit\rexit\r" SEPARATOR MENUITEM "WAN router pw", "SEND", "testnet\renet@)12ospf\r" ...... ################################# may i ask another question?I want to add some icon buttons on the menu.how to do this if i use a user define menu at the same time? after i used the user defined menu file, the "customize" popmenu doesn't show up when i right click on the menu.I can use it to add some buttons on the menu ,and then hide the toolbar. "customize" popmenu will show up if the i do not define the menu file and keep the option empty : "global options"--"terminal"--"advanced"---"custom menu and toolbar file" I want to add some icon buttons on the menu, like the "Connect in Tab" button described in the toolbar section: TOOLBAR "[toolbar]" ...... TOOLBARITEM "MENU_TAB_NEW", "MENU_TAB_NEW", , "Connect in Tab/Tile", "Connect in Tab/Tile" I tried to add those things in the MENU "[main]" section, 1\ TOOLBARITEM "MENU_TAB_NEW", "MENU_TAB_NEW", , "Connect in Tab/Tile", "Connect in Tab/Tile“ 2\ MENUITEM "MENU_TAB_NEW", "MENU_TAB_NEW" the 1 way does not work, the 2 way just show up a text button which named "MENU_TAB_NEW", yes it works, but not a icon button... |
#4
|
|||
|
|||
Hi exzzz,
You can't display icons on the menu bar. You can only display icons on the toolbar, per the defined syntax: MENUITEM <”label”>,<”command str”>[,” command argument(s)”][,”string table identifier”][,”accelerator identifier”] TOOLBARITEM <”icon”>,<”command str”>[,”command argument(s)”][,”string table identifier”][,”accelerator identifier”] I have added this thread to a feature request in our product enhancement database to add the ability to specify an image/icon for custom menu items (in menu bar). Should a future release of SecureCRT include this feature, notification will be posted here. If you prefer direct e-mail notification, contact support@vandyke.com and include "Feature Request - Forum Thread #11234" in the subject line.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 Last edited by bgagnon; 10-17-2013 at 10:48 AM. Reason: Created feature request |
#5
|
|||
|
|||
ok, thank you very much for your help!
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|