#1
|
|||
|
|||
Right-click menu customization
I added a MENUITEM which sends a string : \n telnet \v
POPUPMENU "[context]" MENUITEM "&Copy", "MENU_COPY" MENUITEM "&Paste", "MENU_PASTE" MENUITEM "Telnet ip", "SEND", "\n telnet \v" <-----new line that I added ... The \n telnet works well but the \v doesn't do anything (it is supposed to send the clipboard to the screen). So my question is this: how do I send a string + clipboard to the screen ? -------------- Also, to perform the same task as above, I also I've tried to put 2 different actions in the same MENUITEM but it doesn't work : MENUITEM "Telnet ip", "SEND", "\n telnet" ; "MENU_PASTE" This is my second question: Is there a way to perform 2 different actions in one single MENUITEM line ? regards, |
#2
|
|||
|
|||
Hi azoulay,
Quote:
For me, version 8.5.4 (current, official release) did send what was in my clipboard. Please confirm you have data in the clipboard and retest. Quote:
![]() I did not find a way to do so, but I'll look at the documentation.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
Hi azoulay,
I have created a feature request on your behalf in our product enhancement database for the ability to sequence multiple menu actions together in a single custom menu item and added this thread info to it. Should a future release of SecureCRT include this feature, notification will be posted here. If you prefer direct email notification, send an email to support@vandyke.com and include Feature Request - Forum Thread #13883 in the subject line or use this form from the support page of our website.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#4
|
|||
|
|||
Right-click menu customization
Thanks for getting back to me on this. I have Version 8.0.1 of SecureCRT.
I finally found the problem: When I added a new option (Telnet ip) in the right-click menu, it didn't do what was expected. I was expecting that after right-clicking the option I would see on the screen : Telnet <IP that I hi-lighted> but instead, I got only : Telnet (with nothing following it). POPUPMENU "[context]" ... MENUITEM "Telnet ip", "SEND", "\n telnet \v" <-----new line that I added ... the problem I had is that \v didn't send what was hi-lighted on my screen. \v only sends what's in the clipboard. So the solution to this is to have the option "Copy on select" in the Global options/Terminal checked. Because that options puts automatically whatever you hi-light on screen into the clipboard. If you don't have this checked, it won't work. That's the trick. So now, when I hi-light an ip address on screen and choose my option "Telnet ip" in the right click menu I get this: Telnet 172.33.22.01 which is excatly what I was expecting. Thank you, |
![]() |
Tags |
clipboard , customize , menu , menuitem , right-click |
Thread Tools | |
Display Modes | |
|
|